:root {
    --primary: #F12850;
    --black: #000000;
    --bg: #F4F4F0;
    --font-logo: 'Satoshi', sans-serif;
    --font-main: 'Satoshi', sans-serif;
    --font-accent: 'Caveat', cursive;
}

/* Base styles and layout handled by shared/design-system.css */



/* - SPLASH SCREEN - */
#splash-screen {
    position: fixed;
    inset: 0;
    background-color: var(--bg);
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 32px 32px;
    background-position: -1px -1px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 2vw, 22px);
    z-index: 20000;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity;
}

.splash-logo {
    font-family: var(--font-logo);
    font-size: clamp(36px, 5.5vw, 64px) !important;
    font-weight: 600 !important;
    color: #000 !important;
    letter-spacing: -0.035em !important;
    /* opacity/transform owned ONLY by critical-splash-css ? redeclaring here
       restarted the intro when index.css loaded mid-animation */
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    width: auto !important;
    max-width: none !important;
}

/* Animation keyframes + .animate live only in critical-splash-css (index.html).
   Redefining them here restarted the logo intro when index.css loaded late. */

.splash-logo .lens {
    color: var(--primary);
}

.splash-tagline {
    font-size: clamp(13px, 1.6vw, 20px) !important;
    font-weight: 500 !important;
    color: rgba(0, 0, 0, 0.55) !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    line-height: 1.5 !important;
    letter-spacing: 0.01em !important;
    max-width: none !important;
    width: auto !important;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Tablet - clamp() handles sizing automatically, no overrides needed */

/* Desktop - clamp() handles sizing automatically, no overrides needed */

/* - RESPONSIVE LANDING CONTAINER - */
#landing-screen {
    flex: 1;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 90px max(48px, var(--safe-right, 0px)) 90px max(48px, var(--safe-left, 0px));
    /* Avoid hiding entire viewport structure from LCP observers */
    opacity: 1;
    pointer-events: auto;
    overflow-x: clip !important;
    overflow-y: visible !important;
}

@media (max-width: 767px) {
    #landing-screen {
        min-height: 100dvh;
        padding: calc(var(--header-height-mobile, calc(64px + var(--safe-top, 0px))) + 32px) var(--safe-x) calc(40px + var(--safe-bottom, 0px)) var(--safe-x) !important;
        display: flex;
        flex-direction: column;
    }

    #landing-screen .main-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;
        height: 100%;
    }

    .header-group {
        margin-bottom: 0 !important;
    }

    .machine-stack {
        transform: scale(1);
        transform-origin: center center;
        margin-bottom: 0px !important;
    }
}

/* Removed #landing-screen.visible to keep container visible by default */

/* - LAYER ENFORCEMENT - */
.main-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    pointer-events: none;
}

/* - DECORATIVE POLAROIDS - */
.polaroid {
    position: absolute;
    height: auto;
    opacity: 0.9;
    z-index: 0;
    transition: all 0.3s ease;
    pointer-events: auto;
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.01);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.polaroid img {
    width: 100%;
    height: auto;
    display: block;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Responsive 2-Big 2-Small Proportions */
.p1,
.p4 {
    width: clamp(70px, 8vw, 140px);
}

/* Big variant */
.p2,
.p3 {
    width: clamp(55px, 6vw, 95px);
}

.polaroid:hover {
    z-index: 9;
    opacity: 1;
}

@keyframes float-polaroid {
    0%,
    100% {
        transform: scale(var(--p-scale, 1)) rotate(var(--p-rot, 0deg)) translate3d(0, 0, 0);
    }
    50% {
        transform: scale(var(--p-scale, 1)) rotate(var(--p-rot, 0deg)) translate3d(0, -8px, 0);
    }
}

.p1 {
    top: 95px;
    left: 20px;
    --p-rot: -8deg;
    transform: scale(var(--p-scale, 1)) rotate(var(--p-rot)) translate3d(0, 0, 0);
    animation: float-polaroid 6s ease-in-out infinite;
    animation-delay: 0s;
}

.p1:hover {
    --p-scale: 0.85;
}

.p2 {
    top: 100px;
    right: 50px;
    --p-rot: 6deg;
    transform: scale(var(--p-scale, 1)) rotate(var(--p-rot)) translate3d(0, 0, 0);
    animation: float-polaroid 6s ease-in-out infinite;
    animation-delay: 1.2s;
}

.p2:hover {
    --p-scale: 0.85;
}

.p3 {
    bottom: 100px;
    left: 30px;
    --p-rot: -6deg;
    transform: scale(var(--p-scale, 1)) rotate(var(--p-rot)) translate3d(0, 0, 0);
    animation: float-polaroid 6s ease-in-out infinite;
    animation-delay: 2.5s;
}

.p3:hover {
    --p-scale: 0.85;
}

.p4 {
    bottom: 70px;
    right: 20px;
    --p-rot: 8deg;
    transform: scale(var(--p-scale, 1)) rotate(var(--p-rot)) translate3d(0, 0, 0);
    animation: float-polaroid 6s ease-in-out infinite;
    animation-delay: 0.8s;
}

/* Disable polaroid hover effects for p4 */
.p4:hover {
    z-index: 0 !important;
    opacity: 1 !important;
}

@media (max-width: 767px) {
    .hero-mobile {
        padding-top: calc(var(--header-height-mobile, calc(64px + var(--safe-top, 0px))) + 6px) !important;
        padding-bottom: calc(100px + var(--safe-bottom, 0px)) !important;
        padding-left: var(--safe-x) !important;
        padding-right: var(--safe-x) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        box-sizing: border-box;
        /* FIX: Use overflow-x clip only - overflow:hidden clips scroll-indicator on Chrome iOS & old Android */
        overflow-x: clip !important;
        overflow-y: visible !important;
    }

    .hero-mobile .main-content {
        width: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0 !important;
        /* Managed by explicit margins */
        overflow: visible;
    }

    .header-group {
        margin-top: 36px !important;
        margin-bottom: 0px !important;
    }

    .live-chip {
        margin-top: 0 !important;
        margin-bottom: 12px !important;
    }

    .support-desc {
    }

    .hero-title {
        margin-bottom: 16px !important;
        font-size: clamp(32px, 9vw, 44px) !important;
        line-height: 1.0 !important;
    }

    .hero-subtitle {
        margin-bottom: 28px !important;
        font-size: 17px !important;
        line-height: 1.45 !important;
        max-width: 30ch !important;
        margin-inline: auto !important;
    }

    .hero-preview,
    .strip-preview {
        margin-bottom: 0px !important;
        width: clamp(115px, 35vw, 150px) !important;
        height: auto !important;
        aspect-ratio: 200/320 !important;
        transform: scale(1) !important;
    }

    .mask-viewport {
        width: 82% !important;
        height: 94% !important;
        top: 5% !important;
        left: 50% !important;
        transform: translateX(-50%) translateZ(0) !important;
    }

    .slot-asset {
        width: 100% !important;
        height: auto !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
    }

    .hero-cta {
        margin-bottom: 24px !important;
    }

    /* Maintain polaroid positions */
    .p1 {
        z-index: 0;
        top: calc(var(--header-height-mobile, calc(64px + var(--safe-top, 0px))) + 8px) !important;
        left: -14px;
        width: 82px !important;
        --p-rot: -15deg;
    }

    .p2 {
        z-index: 0;
        top: calc(var(--header-height-mobile, calc(64px + var(--safe-top, 0px))) + 20px) !important;
        right: -15px;
        width: 65px !important;
        --p-rot: 12deg;
    }

    .p3 {
        z-index: 0;
        position: absolute !important;
        bottom: 14% !important;
        left: -10px;
        width: 70px !important;
        --p-rot: -10deg;
        animation: none !important;
    }

    .p4 {
        z-index: 0;
        position: absolute !important;
        bottom: 8% !important;
        right: -35px;
        width: 90px !important;
        --p-rot: 20deg;
        animation: none !important;
    }

    .btn-main {
    -webkit-appearance: none;
    appearance: none;
    -webkit-box-shadow: none;
    box-shadow: none;
        height: var(--btn-height) !important;
        width: var(--btn-width) !important;
        font-size: var(--btn-font-size) !important;
        font-weight: 700 !important;
    }

       /* Scroll Indicator - mobile: contained in flow, never overlaps next section */
    #landing-screen .scroll-indicator-container {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        justify-content: center !important;
        width: 100% !important;
        display: flex !important;
        bottom: auto !important;
        position: relative !important;
        z-index: 10 !important;
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
        will-change: auto !important;
    }

    #landing-screen .scroll-indicator {
        width: 44px !important;
        height: 44px !important;
        min-width: var(--touch-min, 44px) !important;
        min-height: var(--touch-min, 44px) !important;
        margin-bottom: max(4px, var(--safe-bottom, 0px)) !important;
        background-color: #ffffff !important;
    }

    #landing-screen .scroll-indicator svg {
        width: 18px !important;
        height: 18px !important;
        stroke-width: 2.5px !important;
    }
}


@media (max-width: 767px) {
    .top-bar {
        display: none !important;
    }
}

/* Desktop bounds */
@media (min-width: 900px) {

    .p1,
    .p4 {
        width: 140px;
    }

    .p2,
    .p3 {
        width: 95px;
    }
}

/* --- TOP BAR --- */
.top-bar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 48px;
    z-index: 1000;
    position: absolute;
    top: 0;
    left: 0;
}

/* Logo styles moved to shared/header.css */
@media (min-width: 768px) {

    .header-group {
        max-width: 900px !important;
    }

    .hero-title {
        font-size: 52px !important;
        white-space: normal;
        line-height: 0.95 !important;
    }

    .hero-sub {
        font-size: 26px !important;
        white-space: normal;
        
    }

    .btn-main {
        font-size: var(--btn-font-size) !important;
        width: var(--btn-width) !important;
        height: var(--btn-height) !important;
    }

    .hero-cta {
        margin-top: 36px !important;
    }

    .hero-title .accent {
        font-size: 1.42em !important;
        margin-right: 0.12em !important;
    }

    .stats-title .accent {
        font-size: 1.32em !important;
        margin-right: 0.12em !important;
    }

    .mobile-br {
        display: none;
    }
}

/* Desktop: Left-align hero text and CTA */
@media (min-width: 1025px) {
    #landing-screen .hero-text-col {
        text-align: left;
        margin-left: -30px;
    }

    #landing-screen > .main-content > .hero-text-col .header-group {
        align-items: flex-start;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-inline: 0 !important;
        text-align: left;
    }

    #landing-screen > .main-content > .hero-text-col .header-group .hero-title {
        text-align: left;
    }

    #landing-screen > .main-content > .hero-text-col .header-group .hero-sub {
        text-align: left;
    }

    #landing-screen > .main-content > .hero-text-col .hero-cta {
        text-align: left;
    }
}

/* Tablet: ensure main-content is properly centered */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-mobile .main-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0 !important;
    }

    .header-group {
        margin-inline: auto !important;
        max-width: 780px !important;
        text-align: center !important;
        margin-bottom: 0 !important;
    }

    .live-chip {
        margin-bottom: 24px !important;
    }
}

/* Tablet Portrait Mode Fix for Hero Section */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .hero-mobile .main-content {
        display: flex;
        flex-direction: column;
    }
    .hero-text-col {
        order: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
    }
    .hero-title {
        text-align: center !important;
    }
    .hero-sub {
        text-align: center !important;
        margin-inline: auto !important;
    }
    .hero-cta {
        align-self: center !important;
        margin-top: 96px !important; /* Move CTA down for better spacing below h2 */
        margin-bottom: 40px !important;
    }
    .hero-visual-col {
        order: 2;
        margin-top: 55px !important; /* Bring the text column down while keeping animation fixed in position */
        margin-bottom: 50px !important;
        display: flex;
        justify-content: center;
        width: 100%;
    }
    .hero-machine-container {
        width: clamp(200px, 35vw, 290px) !important; /* Smaller illustration size to fit fold */
    }
    .avatar-wrapper {
        transform: translate3d(-50%, -50%, 0) scale(0.6) !important; /* Scaled down to match smaller machine */
    }
}


/* - NEW FEATURE CHIP - */
.new-feature-chip {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border-radius: 999px;
    padding: 4px 14px 4px 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
    margin-bottom: 24px;
    border: 1px solid #d4d4d4;
    gap: 10px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    max-width: 90vw;
    cursor: default;
    pointer-events: auto;
}

.new-feature-chip:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
}

.checklist-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checklist-list li {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #000000;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.checkmark {
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
    line-height: 1.4;
}

.chip-badge {
    background-color: #e3173e;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0 10px;
    border-radius: 999px;
    line-height: 1;
    flex-shrink: 0;
    height: var(--chip-h);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chip-text {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 767px) {
    :root {
        --chip-h: 18px;
    }

    .new-feature-chip {
        margin-bottom: 12px;
        padding: 3px 12px 3px 3px;
        gap: 8px;
    }

    .chip-badge {
        font-size: 10px;
        padding: 0 8px;
    }

    .chip-text {
        font-size: 12px;
    }
}

/* - TYPOGRAPHY HEADER GROUP - */
.header-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    width: 100%;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
    /* Restored original desktop spacing */
    z-index: 10;
    pointer-events: none;
}

.hero-title {
    font-size: 52px;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    margin-bottom: 8px;
    /* Restored original desktop spacing */
    color: var(--black);
    pointer-events: auto;
    max-width: none;
}

.hero-title .accent {
    font-family: var(--font-accent);
    color: var(--primary);
    font-size: 1.32em !important;
    font-weight: 700;
    margin-left: 0;
    margin-right: 0.12em;
    display: inline-block;
    line-height: 0.7 !important;
    transform: translateY(3px) rotate(-2deg);
}

.stats-title .accent {
    font-family: var(--font-accent);
    color: var(--primary);
    font-size: 1.32em !important;
    font-weight: 700;
    margin-left: 0;
    margin-right: 0.12em;
    display: inline-block;
    line-height: inherit;
    transform: translateY(3px) rotate(-2deg);
}

.hero-sub {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.45;
    color: #000000;
    text-align: center;
    pointer-events: auto;
    max-width: none;
}



/* - PERFECT MACHINE STACK - */
.machine-stack {
    position: relative;
    width: 200px;
    height: 320px;
    flex-shrink: 0;
    margin-bottom: 0px;
    /* Reduced to pull CTA tightly up */
    z-index: 10;
    pointer-events: auto;
}

.slot-asset {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.mask-viewport {
    width: 160px;
    height: 305px;
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    overflow: hidden;
    z-index: 5;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    border-radius: 1px;
}

.photo-strip {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    transform: translate3d(0, -110%, 0);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: transform 2.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    image-rendering: -webkit-optimize-contrast;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: transform, opacity;
}

#landing-screen.visible .photo-strip.active {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* - CTA BUTTON (GUMROAD STYLE) - */
.btn-wrap {
    position: relative;
    flex-shrink: 0;
    z-index: 100;
    display: inline-block;
    pointer-events: auto;
}

.btn-wrap::before,
.btn-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    border: 1px solid #000;
    pointer-events: none;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    transform: translate(0, 0);
    /* Hidden by default */
}

.btn-wrap::before {
    background-color: #FFC701;
    z-index: -1;
}

.btn-wrap::after {
    background-color: #F12850;
    z-index: -2;
}

@keyframes btn-shine {
    0% {
        transform: translateX(-100%) skewX(-25deg);
    }
    20% {
        transform: translateX(200%) skewX(-25deg);
    }
    100% {
        transform: translateX(200%) skewX(-25deg);
    }
}

.btn-main {
    height: var(--btn-height);
    width: var(--btn-width);
    /* Substantial bold width */
    padding: 0 var(--btn-px);
    background-color: #000;
    color: #fff;
    border: 1px solid #000;
    border-radius: var(--radius-btn, 12px);
    font-family: var(--font-main);
    font-size: var(--btn-font-size);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.2s ease;
}

.btn-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%) skewX(-25deg);
    animation: btn-shine 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    pointer-events: none;
    z-index: 2;
}

.btn-main.loading {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    cursor: wait;
    transform: translate(0px, 0px) !important;
}

/* Hide all interactive shadows when in loading state for a clean look */
.btn-wrap:has(.loading)::before,
.btn-wrap:has(.loading)::after {
    display: none !important;
}

/* Fallback for browsers that don't support :has */
.btn-wrap.is-loading::before,
.btn-wrap.is-loading::after {
    display: none !important;
}

/* Desktop: Unfold on hover */
@media (hover: hover) {
    .btn-wrap:hover .btn-main {
        transform: translate(-2px, -2px);
    }

    .btn-wrap:hover::before {
        transform: translate(4px, 4px);
    }

    .btn-wrap:hover::after {
        transform: translate(8px, 8px);
    }
}

/* Common Indicator Styles */




/* Mobile: Unfold on touch */
@media (hover: none) {
    .btn-wrap:active .btn-main {
        transform: translate(-2px, -2px);
    }

    .btn-wrap:active::before {
        transform: translate(4px, 4px);
    }

    .btn-wrap:active::after {
        transform: translate(8px, 8px);
    }
}

/* - FIXED FOOTER WATERMARK - */
.watermark {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 11px;
    color: #000000;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 20;
}

@keyframes pulse-fade {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.btn-main.loading {
    animation: pulse-fade 1s infinite ease-in-out;
    pointer-events: none;
}

.hidden {
    display: none !important;
}

/* - DESKTOP & MOBILE ANIMATION OVERLAYS MOVED TO LOADER.JS - */

/* ??? Live Stats Section (Premium & Large) ???????????????????????????????????????????????? */
.stats-section-container {
    width: 100%;
    padding: 80px 24px;
    /* Reduced top padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.stats-header {
    text-align: center;
    margin-bottom: 48px;
}

.stats-title {
    font-family: var(--font-main);
    font-size: 52px;
    font-weight: 600;
    line-height: 0.98;
    color: var(--black);
    margin-bottom: 24px;
}

.stats-subtitle {
    font-family: var(--font-main);
    font-size: 26px;
    font-weight: 500;
    color: #000000;
    text-align: center;
}

.ig-subtitle {
    font-family: var(--font-main);
    font-size: 26px;
    font-weight: 500;
    color: #000000;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-title {
        font-size: 52px !important;
    }

    .stats-subtitle,
    .ig-subtitle {
        font-size: 26px !important;
    }
}

.stats-row {
    display: flex;
    gap: 24px;
    width: 100%;
    max-width: 1000px;
    justify-content: center;
}

.stat-pill {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 32px 24px;
    background: #ffffff;
    border: 1px solid var(--black);
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.stat-pill:hover {
    transform: translate(-4px, -4px) scale(1.02);
    box-shadow: 4px 4px 0px var(--black);
}

.stat-pill:hover .stat-pill-value {
    transform: scale(1.1);
    color: var(--primary);
}

.stat-pill-value {
    font-family: var(--font-logo);
    font-size: 46px;
    font-weight: 800;
    color: var(--black);
    line-height: 1;
    letter-spacing: -0.03em;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
}

.stat-pill-label {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
}

.stat-pill-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.stat-pill-live::before {
    content: '';
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #22C55E;
    border-radius: 50%;
    border: 1px solid var(--black);
    animation: lbPulse 2s ease-in-out infinite;
}

@keyframes lbPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

.stat-value-flash {
    color: var(--primary) !important;
    transform: scale(1.15);
}

@media (max-width: 767px) {
    .stats-row {
        max-width: 100%;
        padding: 0 24px;
    }
}

@media (max-width: 767px) {
    .stats-section-container {
        padding: 56px 16px;
    }

    .stats-header {
        /* margin handled by global rules */
        /* Consistent rhythm to cards */
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }





    .stats-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 4px;
        width: 100%;
        box-sizing: border-box;
    }

    .stat-pill {
        padding: 20px 10px;
        min-width: unset;
        gap: 6px;
    }

    .stat-pill:hover {
        transform: translate(-2px, -2px);
        box-shadow: 2px 2px 0px var(--black);
    }

    .stat-pill-value {
        font-size: 28px;
    }

    .stat-pill-label {
        font-size: 10px;
        letter-spacing: 0.04em;
    }
}

/* ??? How It Works Section ???????????????????????????????????????????????? */
.how-section-container {
    width: 100%;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.how-row {
    display: flex;
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    justify-content: center;
}

.how-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
    padding: 32px 24px;
    background: #ffffff;
    border: 1px solid var(--black);
    border-radius: var(--radius-card, 24px);
    transition: all 0.2s cubic-bezier(0.23, 1, 0.32, 1);
    height: auto;
    box-sizing: border-box;
}

.how-card:hover {
    transform: translate(-4px, -4px) scale(1.02);
    box-shadow: 4px 4px 0px var(--black);
}

.how-card:hover .how-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 2px 2px 0px var(--black);
}

.how-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 12px;
    border: 1px solid var(--black);
    flex-shrink: 0;
    color: #000;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.how-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5px;
}

.how-card-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.how-card-title {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.how-card-desc {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    line-height: 1.5;
}

/* - TABLET & MOBILE RESPONSIVENESS - */
@media (max-width: 1100px) {
    .how-row {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: auto;
        /* 2x2 grid for tablets */
        gap: 24px;
        padding: 0 32px;
    }

    .how-card {
        height: auto;
    }
}

@media (max-width: 767px) {
    .how-section-container {
        padding: 56px 16px;
    }

    .how-row {
        grid-template-columns: 1fr;
        /* Back to single column on mobile */
        gap: 12px;
        margin-top: 20px;
        padding: 0 4px;
        width: 100%;
        box-sizing: border-box;
    }

    .how-card {
        padding: 16px 14px 16px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .how-icon {
        font-size: 20px;
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 10px;
    }

    .how-icon svg {
        width: 20px;
        height: 20px;
        stroke-width: 2.5px;
    }

    .how-card-title {
        font-size: 20px;
    }

    .how-card-desc {
        font-size: 16px;
        line-height: 1.5;
    }

    .how-card:hover {
        transform: translate(-2px, -2px);
        box-shadow: 2px 2px 0px var(--black);
    }
}

/* - SCROLL ANIMATIONS - */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* ??? Booth Types Section ??????????????????????????????????????????????? */
.booth-types-section {
    width: 100%;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.booth-types-row {
    display: flex;
    flex-direction: row;
    /* Side by side */
    gap: 32px;
    width: 100%;
    max-width: 1400px;
    /* Expanded for larger images */
    justify-content: center;
    margin-top: 48px;
}

/* The two booth cards */
.booth-card-wrap {
    position: relative;
    flex: 1;
    z-index: 1;
    display: flex;
}

.booth-card-wrap::before,
.booth-card-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-card, 24px);
    border: 1px solid var(--black);
    z-index: -1;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    box-sizing: border-box;
    opacity: 0; /* Hidden by default */
}

.booth-card-wrap::before {
    background-color: #FFC701;
    /* Yellow layer default position */
    transform: translate(0, 0) scale(0.98);
}

.booth-card-wrap::after {
    background-color: var(--primary);
    /* Pink layer default position */
    transform: translate(0, 0) scale(0.98);
    z-index: -2;
}

.booth-card-wrap:hover::before,
.booth-card-wrap:focus-within::before {
    opacity: 1;
    transform: translate(6px, 6px) scale(1);
}

.booth-card-wrap:hover::after,
.booth-card-wrap:focus-within::after {
    opacity: 1;
    transform: translate(12px, 12px) scale(1);
}

.booth-card {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #ffffff;
    border: 1px solid var(--black);
    border-radius: var(--radius-card, 24px);
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 2;
}

/* Standardize layout for both cards in side-by-side mode */
.booth-card-wrap:nth-child(even) .booth-card {
    flex-direction: row;
}

.booth-card:hover {
    transform: translate(-4px, -4px);
}

/* Visual panel - Split Layout */
.booth-card-visual {
    width: 50%;
    /* Do NOT set height - let align-items:stretch on the parent handle it.
       The body content drives the card height; the visual stretches to match. */
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    padding: 0;
}

.booth-card-visual picture {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    flex: 1;
}

.booth-card-wrap:nth-child(even) .booth-card-visual {
    border-bottom: none;
    border-right: 1px solid rgba(0, 0, 0, 0.15);
}

/* Image styling inside the visual panel */
.booth-visual-img {
    width: 140px;
    height: auto;
    margin: 40px 0;
    /* Padding for floating icons */
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 2;
}

/* Full-bleed cover image variant */
.booth-visual-img--cover {
    width: 100% !important;
    height: 100.5% !important;
    object-fit: cover !important;
    /* Tiny overlap to eliminate rounding gaps at bottom */
    margin: 0 !important;
    display: block;
    /* Remove descender gap */
    object-fit: cover;
    /* Use cover with locked ratio for pixel-perfect fill */
    object-position: center;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    filter: none !important;
}

/* Mobile specific: ensure perfect fit naturally */
@media (max-width: 767px) {
    .booth-card-visual {
        padding: 0 !important;
        border: none !important;
        margin: 0 !important;
        outline: none !important;
        background: transparent !important;
        aspect-ratio: 1852 / 1626 !important;
        height: auto !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .booth-card-visual picture {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        flex: 1 !important;
        display: block !important;
    }

    .booth-visual-img--cover {
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
        filter: none !important;
        display: block !important;
    }
}

.booth-card:hover .booth-visual-img {
    transform: scale(1.08) rotate(-2deg);
}

/* Hover for cover variant: just scale, no rotate to keep edges clean */
.booth-card:hover .booth-visual-img--cover {
    transform: scale(1.05);
}

/* Shared card: overlapping images */
.booth-visual-img--overlap {
    position: absolute;
    width: 120px;
    right: 25%;
    top: 25%;
    z-index: 1;
    transform: rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.05s;
}

.booth-card:hover .booth-visual-img--overlap {
    transform: scale(1.08) rotate(12deg) translate(15px, -10px);
}

/* Content area - Right side of rectangle */
.booth-card-body {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    background: #fff;
    flex: 1;
    overflow: visible;
}

.booth-card-title {
    font-family: var(--font-main);
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.booth-card-desc {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    color: #000000;
    line-height: 1.5;
    margin-top: 8px;
    /* No line-clamp - let the description render fully on all screen sizes */
    overflow: visible;
    white-space: normal;
}

.booth-card-features {
    list-style: none;
    padding: 0;
    margin: 18px 0 20px;
    /* Restored original margins */
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* Restored original gap */
}

.booth-card-features li {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.booth-card-features li::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F12850' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* CTA inside card */
.booth-card-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: auto;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 10px 20px;
    border: 1px solid var(--black);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.booth-card:hover .booth-card-cta {
    background: var(--black);
    color: #fff;
    gap: 12px;
}

.booth-card-cta svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.booth-card:hover .booth-card-cta svg {
    transform: translateX(3px);
}

/* Tablet & Mobile Booth Types */
@media (max-width: 1100px) {
    .booth-types-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 40px !important;
        padding: 0 24px !important;
    }

    .booth-card-wrap {
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
    }

    .booth-card {
        flex-direction: column !important;
        height: auto !important;
        aspect-ratio: auto !important;
    }

    .booth-card-visual {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1852 / 1626 !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
        padding: 0;
        position: relative !important;
        overflow: hidden !important;
    }

    .booth-card-visual picture {
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        flex: 1 !important;
        display: block !important;
    }

    .booth-card-visual .booth-visual-img--cover {
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 0 !important;
        width: 100% !important;
        height: 100.5% !important;
        margin: 0 !important;
    }

    .booth-card-body {
        width: 100% !important;
        padding: 32px 24px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .booth-card-title {
        font-size: 24px !important;
    }
}

@media (max-width: 767px) {
    .booth-types-section {
        padding: 56px 8px;
    }
    
    .booth-types-section .stats-header {
        padding: 0 8px;
    }

    .booth-types-row {
        flex-direction: column !important;
        margin-top: 24px;
        gap: 28px;
        padding: 0;
    }

    .booth-card-wrap {
        width: 100% !important;
        max-width: none !important;
    }

    .booth-card {
        flex-direction: column !important;
        /* Stack on mobile */
        min-height: auto;
    }

    .booth-card {
        aspect-ratio: auto !important;
        /* Let mobile grow naturally */
        flex-direction: column !important;
        /* Always vertical on mobile */
        height: auto !important;
    }

    .booth-card-visual {
        width: 100% !important;
        aspect-ratio: 1852 / 1626 !important;
        /* Perfect for your design */
        height: auto !important;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15);
        padding: 0 !important;
    }

    .booth-card-body {
        width: 100% !important;
        padding: 24px 20px;
    }

    .booth-card-title {
        font-size: 24px;
    }

    .booth-card-desc {
        font-size: 14px;
        line-height: 1.5;
    }

    .booth-card-features {
        margin: 14px 0 20px;
        gap: 10px;
    }
}

/* ??? Visual Showcase Section (Marquee) ????????????????????????????????? */
.showcase-section {
    width: 100%;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Marquee track - full viewport width, clips overflow */
.marquee-viewport {
    width: 100%;
    overflow: hidden;
    /* Fade edges with a mask */
    -webkit-mask-image: linear-gradient(to right,
            transparent 0%,
            #000 8%,
            #000 92%,
            transparent 100%);
    mask-image: linear-gradient(to right,
            transparent 0%,
            #000 8%,
            #000 92%,
            transparent 100%);
    margin-top: 48px;
}

/* The scrolling belt - contains two identical sets for seamless loop */
.showcase-section .marquee-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: marquee-scroll 60s linear infinite;
    will-change: transform;
}

/* Pause on hover (desktop only) */
@media (hover: hover) {
    .showcase-section .marquee-track:hover {
        animation-play-state: paused;
    }
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }

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

/* Individual polaroid cards - no filter on wrapper to avoid compositing
           artifacts behind the animation. Shadow lives on the img itself. */
.mq-polaroid {
    flex-shrink: 0;
    width: 168px;
    /* 2x native resolution (84px) - clean, no blur */
    cursor: default;
}

.mq-polaroid img {
    width: 100%;
    height: auto;
    display: block;
    /* Individual shadow per image, not behind the animation */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16), 0 1px 6px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (hover: hover) {
    .mq-polaroid:hover img {
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.22), 0 2px 10px rgba(0, 0, 0, 0.12);
    }
}

/* Text block ABOVE the marquee - centered */
.showcase-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 24px;
    text-align: center;
    /* Entrance animation */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-text.vs-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Match exact same type scale as stats-title / stats-subtitle */
.showcase-title {
    font-family: var(--font-main);
    font-size: 52px;
    font-weight: 600;
    line-height: 0.98;
    color: var(--black);
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .showcase-title {
        font-size: 52px !important;
    }

    .showcase-sub {
        font-size: 26px !important;
    }
}

/* 'captured' accent - same style as hero/stats accent spans */
.showcase-title .accent {
    font-family: var(--font-accent);
    color: var(--primary);
    font-size: 72px !important;
    font-weight: 700;
    margin-left: 0;
    margin-right: 0.12em;
    display: inline-block;
    line-height: inherit;
    transform: translateY(3px) rotate(-2deg);
}

.showcase-sub {
    font-family: var(--font-main);
    font-size: 26px;
    font-weight: 500;
    color: #000000;
    line-height: 1.5;
    max-width: 800px;
}

/* Mobile: slightly faster scroll, smaller cards */
@media (max-width: 767px) {
    .showcase-section {
        padding: 56px 0;
    }





    .showcase-section .marquee-track {
        gap: 14px;
        animation-duration: 40s;
    }

    .mq-polaroid {
        width: 120px;
    }

    .marquee-viewport {
        margin-top: 24px;
        -webkit-mask-image: linear-gradient(to right,
                transparent 0%,
                #000 5%,
                #000 95%,
                transparent 100%);
        mask-image: linear-gradient(to right,
                transparent 0%,
                #000 5%,
                #000 95%,
                transparent 100%);
    }
}

/* ??? Final CTA Section ???????????????????????????????????????????????? */
.final-cta-section {
    width: 100%;
    padding: 80px 24px;
    /* Large vertical breathing booth */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Optional very subtle grid - removed to prevent double lines overlapping with body grid */

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 900px;
    width: 100%;
}

.cta-buttons {
    display: flex;
    flex-direction: row;
    gap: 24px;
    margin-bottom: 24px;
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* - CTA Section Polaroids - */
.cta-polaroid {
    position: absolute;
    height: auto;
    opacity: 0.85;
    z-index: 0;
    transition: all 0.3s ease;
    pointer-events: auto;
    animation: float-polaroid 4s ease-in-out infinite;
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 0 1px 1px rgba(255, 255, 255, 0.01);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    will-change: transform, translate;
}

.cta-polaroid:hover {
    z-index: 9;
    opacity: 1;
}

/* Left pair - top */
.cp1 {
    width: 110px;
    top: 12%;
    left: 5%;
    transform: rotate(-12deg) translateZ(0);
    animation-delay: 0s;
}

.cp1:hover {
    transform: scale(0.85) rotate(-12deg) translateZ(0) !important;
}

/* Right pair - top */
.cp2 {
    width: 100px;
    top: 8%;
    right: 5%;
    transform: rotate(10deg) translateZ(0);
    animation-delay: 1.2s;
}

.cp2:hover {
    transform: scale(0.85) rotate(10deg) translateZ(0) !important;
}

/* Left pair - bottom (close to cp1) */
.cp3 {
    width: 108px;
    top: 48%;
    left: 3%;
    transform: rotate(-5deg) translateZ(0);
    animation-delay: 2.5s;
}

.cp3:hover {
    transform: scale(0.85) rotate(-5deg) translateZ(0) !important;
}

/* Right pair - bottom (close to cp2) */
.cp4 {
    width: 105px;
    top: 44%;
    right: 4%;
    transform: rotate(8deg) translateZ(0);
    animation-delay: 0.8s;
}


@media (min-width: 1400px) {
    .cp1 {
        left: 9%;
    }

    .cp2 {
        right: 9%;
    }

    .cp3 {
        left: 8%;
    }

    .cp4 {
        right: 8%;
    }
}

@media (max-width: 767px) {
    .final-cta-section {
        padding: 56px 16px;
    }





    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }


    .cp1 {
        width: 60px !important;
        top: 2% !important;
        left: -10px;
        transform: rotate(-12deg);
    }

    .cp2 {
        width: 56px !important;
        top: 0% !important;
        right: -10px;
        transform: rotate(10deg);
    }

    .cp3 {
        width: 58px !important;
        top: 62% !important;
        left: -8px;
        transform: rotate(-5deg);
    }

    .cp4 {
        width: 56px !important;
        top: 60% !important;
        right: -10px;
        transform: rotate(8deg);
    }
}



/* Legacy footer styles pruned to allow public/shared/footer.css to control layout exclusively */

/* ??????????????????????????????????????????????????
           TABLET RESPONSIVE TYPOGRAPHY SYSTEM (768px - 1024px)
           ?????????????????????????????????????????????????? */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

    h1:not(.share-modal-title):not(.post-dl-modal-title):not(.submit-modal-headline):not(.leave-modal-headline):not(.retake-conflict-title):not(.feedback-title):not(.trust-modal-headline):not(.success-modal-title),
    .section-title,
    .about-hero-title,
    .mission-title,
    .about-cta-title,
    .stats-title,
    .showcase-title,
    .community-title,
    .faq-title {
        font-family: var(--font-main) !important;
        line-height: 0.98 !important;
        font-weight: 700 !important;
        letter-spacing: -0.04em !important;
        margin-bottom: 24px !important;
        width: 100% !important;
        max-width: 11ch !important;
        padding-left: max(16px, var(--safe-left), var(--safe-right)) !important;
        padding-right: max(16px, var(--safe-left), var(--safe-right)) !important;
        margin-inline: auto !important;
        text-align: center !important;
        white-space: normal !important;
    }

    .hero-sub,
    .section-sub,
    .about-hero-sub,
    .stats-subtitle,
    .showcase-sub,
    .community-subtitle,
    .ig-subtitle,
    .about-cta-sub {
        font-family: var(--font-main) !important;
        line-height: 1.5 !important;
        font-weight: 500 !important;
        max-width: 32ch !important;
        padding-left: max(16px, var(--safe-left), var(--safe-right)) !important;
        padding-right: max(16px, var(--safe-left), var(--safe-right)) !important;
        margin-inline: auto !important;
        text-align: center !important;
        white-space: normal !important;
        margin-bottom: 44px !important;
    }

    .hero-title .accent {
        font-size: 1.18em !important;
        font-weight: 600 !important;
    }

    .stats-title .accent {
        font-size: 1.08em !important;
        font-weight: 600 !important;
    }



    .faq-q {
        font-size: 21px !important;
        font-weight: 700 !important;
    }

    .faq-a {
        font-size: 16px !important;
    }



    .cp3 {
        top: 56% !important;
    }

    .cp4 {
        top: 52% !important;
    }

    /* ?? Community Showcase: restore correct sizes (global h1/h2 rules above crush these) ?? */
    .community-title {
        font-size: 52px !important;
        line-height: 0.98 !important;
        font-weight: 700 !important;
        letter-spacing: -0.045em !important;
        max-width: none !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 24px !important;
        margin-inline: auto !important;
        white-space: normal !important;
    }

    .community-subtitle {
        font-size: 24px !important;
        line-height: 1.45 !important;
        font-weight: 500 !important;
        max-width: 40ch !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 0 !important;
        margin-inline: auto !important;
        white-space: normal !important;
    }
}

/* ??????????????????????????????????????????????????
           MOBILE RESPONSIVE TYPOGRAPHY SYSTEM (< 767px)
           ?????????????????????????????????????????????????? */
@media (max-width: 767px) {

    h1,
    .section-title,
    .about-hero-title,
    .mission-title,
    .about-cta-title,
    .stats-title,
    .showcase-title,
    .community-title,
    .faq-title {
        font-family: var(--font-main) !important;
        font-size: 28px !important;
        line-height: 1.05 !important;
        font-weight: 700 !important;
        letter-spacing: -0.04em !important;
        margin-bottom: 16px !important;
        width: 100% !important;
        max-width: 92vw !important;
        padding-left: max(16px, var(--safe-left), var(--safe-right)) !important;
        padding-right: max(16px, var(--safe-left), var(--safe-right)) !important;
        margin-inline: auto !important;
        text-align: center !important;
        white-space: normal !important;
    }

    /* Hero banner h1 - noticeably larger than other section titles on mobile */
    .hero-title {
        font-size: 42px !important;
        line-height: 1.0 !important;
        max-width: 92vw !important;
    }

    #landing-screen .hero-title {
        font-size: 44px !important;
        max-width: 100% !important;
    }

    .hero-sub,
    .section-sub,
    .about-hero-sub,
    .stats-subtitle,
    .showcase-sub,
    .community-subtitle,
    .ig-subtitle,
    .about-cta-sub {
        font-family: var(--font-main) !important;
        font-size: 17px !important;
        line-height: 1.5 !important;
        font-weight: 500 !important;
        max-width: 26ch !important;
        padding-left: max(16px, var(--safe-left), var(--safe-right)) !important;
        padding-right: max(16px, var(--safe-left), var(--safe-right)) !important;
        margin-inline: auto !important;
        text-align: center !important;
        
        white-space: normal !important;
    }

    /* Hero-specific subtitle: tighter bottom margin so CTA stays visible */
    #landing-screen .hero-sub {
        margin-bottom: 28px !important;
        font-size: 17px !important;
        max-width: 28ch !important;
    }

    .hero-title .accent {
        font-size: 1.15em !important;
        font-weight: 600 !important;
    }

    .stats-title .accent {
        font-size: 1.05em !important;
        font-weight: 600 !important;
    }

    /* ?? Community Showcase: restore correct sizes (global h1/h2 rules above crush these) ?? */
    .community-title {
        font-size: 34px !important;
        line-height: 1 !important;
        font-weight: 600 !important;
        letter-spacing: -0.04em !important;
        max-width: 90vw !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 8px !important;
        margin-inline: auto !important;
        white-space: normal !important;
    }

    .community-subtitle {
        font-size: 17px !important;
        line-height: 1.5 !important;
        font-weight: 500 !important;
        max-width: 26ch !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 0 !important;
        margin-inline: auto !important;
        white-space: normal !important;
    }



    .stat-pill-value {
        font-size: 28px !important;
    }

    .stat-pill-label {
        font-size: 12px !important;
    }

    .booth-card-title {
        font-size: 20px !important;
    }

    .booth-card-desc {
        font-size: 14px !important;
    }

    .faq-q {
        font-size: 17px !important;
    }

    .faq-a {
        font-size: 14px !important;
    }


}

@media (max-width: 1024px) {


    h3,
    .mission-title,
    .contact-card-title,
    .card-title,
    .value-title,
    .booth-card-title,
    .faq-q {
        line-height: 1.3 !important;
        font-weight: 600 !important;
    }

    p,
    .mission-body,
    .story-body,
    .value-desc,
    .sec p,
    .sec ul li,
    .faq-a,
    .card-desc,
    .booth-card-desc {
        font-size: 16px !important;
        line-height: 1.6 !important;
        font-weight: 500 !important;
        margin-bottom: 14px !important;
    }

    small,
    .eyebrow,
    .about-eyebrow,
    .mission-label,
    .contact-card-label,
    .mission-stat-label,
    .badge {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    button:not(.lb-cookie-notice__accept):not(.lb-cookie-notice__reject),
    .btn-main,
    .about-cta-btn,
    .contact-card-action,
    .join-input-row button,
    .nav-cta,
    .booth-card-btn {
        font-size: clamp(16px, 3vw, 16px) !important;
        font-weight: 600 !important;
    }

    span.accent,
    h1 .accent,
    h2 .accent,
    h3 .accent,
    p .accent,
    .hero-title .accent,
    .about-hero-title .accent,
    .output-title .accent,
    .output-mobile-header .output-title .accent,
    .section-title .accent,
    .about-cta-title .accent,
    .stats-title .accent,
    .showcase-title .accent,
    .faq-title .accent,
    .story-quote .accent {
        font-family: "Caveat", cursive !important;
        font-size: 1.32em !important;
        line-height: 0.8 !important;
        font-weight: 700 !important;
        display: inline-block !important;
        transform: translateY(4px) rotate(-2deg) !important;
        white-space: nowrap !important;
        margin: 0 !important;
        margin-right: 0.1em !important;
        letter-spacing: -0.01em !important;
    }
}

@media (max-width: 480px) {

    span.accent,
    h1 .accent,
    h2 .accent,
    h3 .accent,
    p .accent,
    .hero-title .accent,
    .about-hero-title .accent,
    .output-title .accent,
    .output-mobile-header .output-title .accent,
    .section-title .accent,
    .about-cta-title .accent,
    .stats-title .accent,
    .showcase-title .accent,
    .faq-title .accent,
    .story-quote .accent {
        transform: translateY(4px) rotate(-2deg) !important;
    }
}

/* --- FINAL TABLET UI REFINEMENTS (768px - 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    #landing-screen {
        padding: 180px 40px 40px 40px !important;
        /* Massive Gumroad-style top padding for breathing room */
        min-height: auto !important;
        /* Let content dictate height so stats section pulls up */
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        position: relative !important;
        max-width: 100% !important;
        overflow-x: clip !important;
        overflow-y: visible !important;
    }

    /* Hero banner h1 - a little larger than section titles on tablet */
    .hero-title {
        font-size: clamp(60px, 7.8vw, 66px) !important;
        line-height: 0.98 !important;
        letter-spacing: -0.045em !important;
        max-width: 24ch !important;
        margin-inline: auto !important;
        white-space: normal !important;
        margin-bottom: 20px !important;
    }

    /* Hero landing screen: slightly more impactful sizing */
    #landing-screen .hero-title {
        font-size: clamp(62px, 8vw, 68px) !important;
        line-height: 0.96 !important;
        max-width: 20ch !important;
        margin-bottom: 24px !important;
    }

    /* Unified consistent sizing for all other section H1/H2 titles on tablet */
    .showcase-title,
    .about-cta-title,
    .stats-title,
    .section-title,
    .faq-title,
    .mission-title,
    .support-title,
    #support-section-title,
    .booth-card-title {
        font-size: 57.6px !important;
        line-height: 0.98 !important;
        letter-spacing: -0.045em !important;
        margin-bottom: 24px !important;
        /* Removed artificial constraints so titles flow naturally */
        max-width: none !important;
        white-space: normal !important;
    }

    .hero-sub,
    .section-sub,
    .about-hero-sub,
    .stats-subtitle,
    .support-desc,
    .showcase-sub,
    .community-subtitle,
    .about-cta-sub {
        font-family: var(--font-main) !important;
        font-size: clamp(24px, 3.2vw, 32px) !important;
        /* Upscaled tablet subtitle - balanced for readability */
        line-height: 1.45 !important;
        font-weight: 500 !important;
        /* Unified weight */
        max-width: 40ch !important;
        /* Unified tablet description wrap */
        margin-inline: auto !important;
        text-align: center !important;
        white-space: normal !important;
        margin-bottom: 40px !important;
        /* Unified tablet content spacing */
    }

    .support-desc {
        font-size: 23px !important;
    }

    /* Hero-specific subtitle: controlled bottom margin so CTA is reachable */
    #landing-screen .hero-sub {
        font-size: clamp(24px, 3.2vw, 32px) !important;
        max-width: 50ch !important;
        margin-bottom: 36px !important;
    }

    p,
    .value-desc,
    .card-desc,
    .booth-card-desc,
    .faq-a {
        font-size: clamp(18px, 2.2vw, 20px) !important;
        /* Upscaled tablet body text */
        line-height: 1.6 !important;
    }

    .eyebrow,
    .mission-label,
    .mission-stat-label,
    .badge,
    .stat-pill-label {
        font-size: 14px !important;
        /* Upscaled tablet labels */
    }

    .btn-main,
    .booth-card-btn {
        font-size: 20px !important;
        /* Substantial tablet buttons */
        height: 66px !important;
        padding: 0 56px !important;
    }

    .hero-cta {
        margin-top: 0 !important;
    }



    .machine-stack {
        width: min(32vw, 280px) !important;
        /* Slightly more compact for better fold visibility */
        max-width: 280px !important;
        height: auto !important;
        aspect-ratio: 200/320;
        margin-top: 16px !important;
        margin-bottom: 24px !important;
        margin-inline: auto !important;
        display: block !important;
    }

    .mask-viewport {
        width: 82% !important;
        height: 94% !important;
        top: 5% !important;
    }

    /* Tighter overall section spacing for Tablet */
    .stats-section-container,
    .how-section-container,
    .booth-types-section,
    .blog-section,
    .instagram-section,
    .faq-section,
    .support-section,
    .final-cta-section {
        padding: 48px 40px !important;
    }

    .stats-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
        /* Increased gap for Pro feel */
        max-width: 900px !important;
        margin-inline: auto !important;
        flex-direction: unset !important;
    }

    .stat-pill {
        padding: 40px 24px !important;
        flex: none !important;
    }

    .stat-pill-value {
        font-size: 48px !important;
    }

    /* --- Scaled-Down Hero Polaroids for Tablet (Gumroad Style Framing) --- */
    .p1 {
        width: 105px !important;
        top: 110px !important;
        left: 2vw !important;
        --p-rot: -12deg;
    }

    .p2 {
        width: 80px !important;
        top: 70px !important;
        right: 4vw !important;
        --p-rot: 14deg;
    }

    .p3 {
        width: 95px !important;
        bottom: 22% !important;
        left: 1vw !important;
        --p-rot: -8deg;
    }

    .p4 {
        width: 110px !important;
        bottom: 15% !important;
        right: -2vw !important;
        --p-rot: 18deg;
    }

    .how-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 40px !important;
        /* Increased gap */
        padding: 0 48px !important;
        max-width: 1000px !important;
        margin-inline: auto !important;
        flex-direction: unset !important;
    }

    .how-card {
        padding: 32px !important;
        flex: none !important;
    }

    .booth-types-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 40px !important;
        padding: 0 48px !important;
    }

    .booth-card-wrap {
        width: 100% !important;
        max-width: none !important;
        flex: none !important;
    }

    .booth-card {
        min-height: auto !important;
        aspect-ratio: auto !important;
        flex-direction: column !important;
        /* Stack vertically (image on top, text below) */
        height: auto !important;
        overflow: hidden !important;
    }

    .booth-card-visual {
        width: 100% !important;
        aspect-ratio: 1852 / 1626 !important;
        height: auto !important;
        padding: 0 !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
    }

    .booth-card-body {
        width: 100% !important;
        padding: 32px 24px !important;
    }

    .booth-card-title {
        font-size: 20px !important;
        /* Match mobile font sizes user liked */
    }

    .booth-card-desc {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-top: 6px !important;
    }

    .booth-card-features {
        margin: 14px 0 20px !important;
        gap: 8px !important;
    }

    .booth-card-features li {
        font-size: 14px !important;
    }

    .booth-card-cta {
        font-size: 16px !important;
        padding: 10px 20px !important;
    }

    .showcase-section {
        padding: 48px 0 !important;
    }

    .hero-sub,
    .section-sub,
    .stats-subtitle,

}


#landing-screen {
    position: relative;
}

.scroll-indicator-container {
    display: flex;
    width: 100%;
    z-index: 9999;
    pointer-events: none;
    transition: opacity 0.5s ease;
    /* FIX: Ensure compositing context on Chrome iOS and old Android */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.scroll-indicator {
    width: 52px;
    height: 52px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 0, 0, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    cursor: default;
    pointer-events: auto;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.scroll-indicator svg {
    color: #000;
    width: 22px;
    height: 22px;
    stroke-width: 2.5px;
}

.scroll-indicator .arrow-top {
    animation: chevron-cascade 1.5s infinite;
}

.scroll-indicator .arrow-bottom {
    animation: chevron-cascade 1.5s infinite;
    animation-delay: 0.15s;
}

@keyframes chevron-cascade {
    0% {
        opacity: 0;
        transform: translateY(-3px);
    }

    50% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(3px);
    }
}


/* Responsive Placement */
@media (max-width: 767px), (max-width: 1024px) and (orientation: portrait) {
    .scroll-indicator-container {
        position: relative;
        margin-top: 24px;
        justify-content: center;
        width: 100%;
        bottom: auto;
        left: auto;
        transform: none;
        margin-bottom: 12px;
        /* Tightened gap */
        display: flex !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
    .scroll-indicator-container {
        position: relative !important;
        /* Back to relative flow */
        margin-top: 90px !important;
        /* Pushed down further from CTA */
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        justify-content: center !important;
        display: flex !important;
    }
}

@media (min-width: 1025px), (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .scroll-indicator-container {
        position: absolute;
        bottom: 40px;
        /* Brought further down to the edge */
        right: 40px;
        width: auto;
        justify-content: flex-end;
    }
}

/* Premium Web App Safe Area Support */
@supports (padding: env(safe-area-inset-bottom)) {
    @media (max-width: 767px), (max-width: 1024px) and (orientation: portrait) {
        .scroll-indicator-container {
            /* On relative flow, we use margin, NOT bottom offset */
            bottom: auto;
            margin-bottom: calc(12px + var(--safe-bottom, 0px));
        }
    }

    @media (min-width: 1025px), (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
        .scroll-indicator-container {
            bottom: calc(40px + var(--safe-bottom, 0px));
            right: calc(40px + var(--safe-right, 0px));
        }
    }
}

/* --- TABLET LANDSCAPE: Adjust Polaroid Positions --- */
@media (min-width: 768px) and (max-width: 1366px) and (orientation: landscape) {
    .p1 {
        width: 100px !important;
        top: 15px !important;
        left: -10px !important;
    }
    .p2 {
        width: 85px !important;
        top: 25px !important;
        right: -10px !important;
    }
    .p3 {
        width: 90px !important;
        bottom: 12% !important;
        left: -5px !important;
    }
    .p4 {
        width: 110px !important;
        bottom: 8% !important;
        right: -15px !important;
    }

    /* --- Booth Cards Landscape Fix --- */
    .booth-types-row {
        gap: 32px !important;
        padding: 0 40px !important;
        flex-direction: row !important;
        align-items: stretch !important;
    }

    .booth-card-wrap {
        width: calc(50% - 16px) !important;
        max-width: none !important;
    }

    .booth-card {
        height: 100% !important;
        flex-direction: column !important;
        aspect-ratio: auto !important;
    }

    .booth-card-visual {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1852 / 1626 !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.15) !important;
    }

    .booth-card-body {
        width: 100% !important;
        padding: 24px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        flex: 1 !important;
    }

    .booth-card-title {
        font-size: 20px !important;
    }

    .booth-card-desc {
        font-size: 16px !important;
        line-height: 1.5 !important;
        margin-top: 6px !important;
    }

    .booth-card-features {
        margin: 16px 0 24px !important;
        gap: 12px !important;
    }

    .booth-card-cta {
        font-size: 16px !important;
        padding: 14px 24px !important; /* Slightly taller padding for a larger touch target */
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        margin-top: auto !important;
    }
}

button, input[type="button"], input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
}


/* --- AGGRESSIVE OVERRIDE FOR ALL BUTTON SHADOWS ON IOS --- */
button, input[type="button"], input[type="submit"], .btn-main, .btn-action, .btn-primary, .btn-secondary, .retake, .save, .share {
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

@media (max-width: 1024px) {
    /* iOS shadow fix applied above, custom backdrop shadows preserved */
}


/* --- BULLETPROOF IOS SHADOW FIX --- */
button, input[type="button"], input[type="submit"], .btn-main, .btn-action, .btn-primary, .btn-secondary, .retake, .save, .share, .btn-wrap {
    -webkit-appearance: none !important;
    appearance: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    -webkit-filter: none !important;
    filter: none !important;
    -webkit-tap-highlight-color: transparent !important;
    outline: none !important;
}

@media (max-width: 1024px) {
    /* Custom backdrop shadows preserved */
}

/* ??? TRUST MODAL ??????????????????????????????????????????????????????????? */

/* Overlay - always centered, works on all screen sizes */
.trust-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 19000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trust-modal-overlay.trust-visible {
    opacity: 1;
    pointer-events: auto;
}

/* Backdrop */
.trust-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.trust-modal-overlay.trust-visible .trust-modal-backdrop {
    opacity: 1;
}

/* Card */
.trust-modal-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 24px;
    border: 2px solid #000;
    box-shadow: 8px 8px 0 #000;
    padding: 32px 24px;
    width: 100%;
    max-width: 320px;
    text-align: left !important;
    transform: translateY(8px);
    opacity: 0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.3s ease;
    will-change: transform, opacity;
}

.trust-modal-overlay.trust-visible .trust-modal-card {
    transform: translateY(0);
    opacity: 1;
}

/* Close button */
.trust-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 6px;
    opacity: 0.45;
    transition: opacity 0.2s ease;
}

.trust-modal-close:hover { opacity: 1; }

.trust-modal-close svg {
    width: 16px;
    height: 16px;
    stroke: #000;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Privacy chip - left aligned */
.trust-modal-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid #F12850;
    border-radius: 999px;
    padding: 5px 12px;
    margin: 0 0 16px 0;
    background: rgba(241, 40, 80, 0.08);
}

.trust-modal-chip-icon {
    width: 11px;
    height: 11px;
    color: #F12850;
    flex-shrink: 0;
}

.trust-modal-chip-label {
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #F12850;
    line-height: 1;
}

/* Headline - override global h2 responsive typography which forces text-align:center !important */
.trust-modal-card h2.trust-modal-headline,
.trust-modal-overlay .trust-modal-headline,
h2.trust-modal-headline {
    font-family: var(--font-main) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #000 !important;
    margin: 0 0 10px !important;
    line-height: 1.3 !important;
    text-align: left !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-inline: 0 !important;
    letter-spacing: normal !important;
    
    white-space: normal !important;
    width: auto !important;
}

/* Body text */
.trust-modal-body {
    font-family: var(--font-main) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: #000 !important;
    line-height: 1.6 !important;
    margin-bottom: 28px !important;
    text-align: left !important;
}

.trust-modal-body a {
    color: #000;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.trust-modal-body a:hover { color: var(--primary); }

/* Trust indicators - left aligned */
.trust-modal-indicators {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
}

.trust-modal-indicator {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-family: var(--font-main) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #000 !important;
    line-height: 1.4 !important;
}

.trust-modal-indicator-check {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Divider */
.trust-modal-divider {
    height: 1px;
    background: #000;
    opacity: 0.12;
    margin-bottom: 20px;
}

/* CTA - exactly matches Leave Booth button */
.trust-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-modal-cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 14px !important;
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 12px !important;
    font-family: var(--font-main) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
    line-height: 1.2 !important;
}

.trust-cta-icon {
    width: 16px !important;
    height: 16px !important;
    flex-shrink: 0 !important;
    stroke: currentColor !important;
}

.trust-modal-cta:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.trust-modal-cta:active { transform: scale(0.98); }

/* ?? Responsive sizing ??????????????????????????????????? */

/* Mobile only (< 480px) Bottom Sheet styles for Trust Modal */
@media (max-width: 480px) {
    .trust-modal-overlay {
        padding: 0 !important;
        align-items: flex-end !important;
    }
    .trust-modal-card {
        border-radius: 24px 24px 0 0 !important;
        border: none !important;
        box-shadow: none !important;
        max-width: 480px !important;
        width: 100% !important;
        padding: 32px 24px 40px !important;
        box-sizing: border-box !important;
    }
}

/* Tablet & Desktop (> 480px) centered modals */
@media (min-width: 481px) {
    .trust-modal-overlay {
        padding: 24px !important;
        align-items: center !important;
    }
    .trust-modal-card {
        max-width: 380px !important;
        padding: 36px 32px !important;
        border-radius: 24px !important;
        border: 2px solid #000 !important;
        box-shadow: 8px 8px 0 #000 !important;
    }
}

}

/* ??? Shared Section Header (Blog & FAQ) ??????????????????????????????????? */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header .stats-title {
    margin-bottom: 24px;
    text-align: center;
}

.section-header .stats-subtitle {
    max-width: 600px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .section-header {
        margin-bottom: 36px;
    }
}

/* ??? Blog Section ?????????????????????????????????????????????????????????? */
.blog-section {
    width: 100%;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.blog-card {
    background: #ffffff;
    border: 1px solid var(--black);
    border-radius: var(--radius-card, 24px);
    overflow: hidden;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.2s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (hover: hover) {
    .blog-card:hover {
        transform: translate(-4px, -4px);
        box-shadow: 4px 4px 0px var(--black);
    }

    .blog-card:hover .blog-card-link {
        color: var(--primary);
        gap: 10px;
    }
}

.blog-card-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 28px 24px 24px;
    gap: 24px;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.blog-card-title {
    font-family: var(--font-main);
    font-size: 20px;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0;
}

.blog-card-desc {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.5;
    margin: 0;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    color: var(--black);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: color 0.2s ease, gap 0.2s ease;
    flex-shrink: 0;
    width: fit-content;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding-bottom: 2px;
}

/* Tablet: 2x2 grid */
@media (max-width: 1100px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .blog-card-link {
        font-size: 16px;
    }

    .blog-card-desc {
        font-size: 16px;
    }
}

/* Mobile: single column */
@media (max-width: 767px) {
    .blog-section {
        padding: 56px 16px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .blog-card-inner {
        padding: 20px 18px 18px;
        gap: 14px;
    }

    .blog-card-title {
        font-size: 20px;
    }

    .blog-card:hover {
        transform: translate(-2px, -2px);
        box-shadow: 2px 2px 0px var(--black);
    }
}

/* ??? FAQ Section ??????????????????????????????????????????????????????????? */
.faq-section {
    width: 100%;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

.faq-list {
    width: 100%;
    max-width: 800px;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-top: 1px solid var(--black);
    border-bottom: 1px solid var(--black);
    margin-top: -1px;
    transition: background 0.2s ease;
}

.faq-item.is-open {
    background: #ffffff;
    position: relative;
    z-index: 1;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    text-align: left;
    line-height: 1.3;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.faq-q-wrap {
    display: flex;
    align-items: baseline;
    gap: 16px;
    font-size: 18px !important;
}

.faq-num {
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--black);
    flex-shrink: 0;
    transition: color 0.2s ease;
    min-width: 22px;
}

.faq-item.is-open .faq-num {
    color: var(--primary);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question:hover .faq-num {
    color: var(--primary);
}

.faq-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform 0.32s cubic-bezier(0.23, 1, 0.32, 1), color 0.2s ease;
    color: var(--black);
}

.faq-item.is-open .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-item.is-open .faq-question {
    color: var(--primary);
}

.faq-answer {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.38s cubic-bezier(0.23, 1, 0.32, 1),
                padding 0.38s ease;
    padding-bottom: 0;
}

.faq-answer[hidden] {
    display: block !important;
    visibility: hidden;
}

.faq-item.is-open .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
    visibility: visible;
}

.faq-answer p {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
    line-height: 1.7;
    margin: 0;
    padding: 0 28px 0 28px;
}

@media (max-width: 767px) {
    .faq-section {
        padding: 56px 16px;
    }

    .faq-list {
        max-width: 100%;
    }

    .faq-question {
        font-size: 15px;
        padding: 18px 16px;
    }

    [id^="faq-btn"] span {
        font-size: 16px;
    }

    .faq-answer p {
        font-size: 14px;
        padding: 0 16px 0 16px;
    }
}

/* ??? Instagram Section (minimal premium showcase) ??????????????????????????? */
.instagram-section {
    width: 100%;
    padding: 112px 0 104px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.ig-shell {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.ig-header {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

html body .instagram-section .stats-title {
    margin: 0 0 16px !important;
    text-align: center !important;
}

html body .instagram-section .ig-subtitle,
html body .instagram-section .stats-subtitle {
    font-family: var(--font-main) !important;
    color: var(--black) !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.ig-carousel {
    position: relative;
    margin: 44px 0 0;
    width: 100%;
    max-width: none;
    padding: 0;
    box-sizing: border-box;
    /* Prevent browser scroll-anchoring from jumping the page during autoplay */
    overflow-anchor: none;
}

.ig-carousel::before,
.ig-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(48px, 8vw, 120px);
    z-index: 4;
    pointer-events: none;
}

.ig-carousel::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg) 18%, rgba(244, 244, 240, 0) 100%);
}

.ig-carousel::after {
    right: 0;
    background: linear-gradient(270deg, var(--bg) 18%, rgba(244, 244, 240, 0) 100%);
}

.ig-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: auto; /* programmatic scrolls control easing; avoids snap fights */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
    padding: 20px 0 36px; /* room for soft shadow so layout height stays stable */
    touch-action: pan-x;
    overflow-anchor: none;
}

.ig-viewport::-webkit-scrollbar {
    display: none;
}

.ig-viewport.is-dragging,
.ig-viewport.is-autoplaying {
    scroll-snap-type: none;
}

.ig-viewport.is-dragging {
    cursor: grabbing;
}

.ig-track {
    display: flex;
    align-items: stretch;
    gap: 18px;
    width: max-content;
    padding: 0 clamp(24px, 5vw, 64px);
    box-sizing: border-box;
}

.ig-track.is-empty {
    width: 100%;
    padding: 0 24px;
    display: flex;
    justify-content: center;
}

.ig-card {
    position: relative;
    flex: 0 0 auto;
    width: min(360px, 78vw);
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    background: #deded8;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    isolation: isolate;
    opacity: 0;
    /* Fade only ? no translateY, so autoplay/hover cannot shake vertical layout */
    transform: none;
    transition: opacity 0.45s ease;
    transition-delay: var(--ig-stagger, 0ms);
    -webkit-tap-highlight-color: transparent;
    will-change: auto;
}

.ig-card.is-in {
    opacity: 1;
}

.ig-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

.ig-card-media {
    position: absolute;
    inset: 0;
    display: block;
}

.ig-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.5s ease,
                transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    user-select: none;
    pointer-events: none;
}

.ig-card-media img.is-loaded {
    opacity: 1;
    transform: scale(1);
}

.ig-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0) 40%,
        rgba(0, 0, 0, 0.5) 100%
    );
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.ig-card-hover {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

.ig-card-cta {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #fff;
}

.ig-reel-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

@media (hover: hover) and (pointer: fine) {
    /* Keep hover effects inside the card ? no translateY lift (that shakes the section) */
    .ig-card.is-in:hover .ig-card-media img.is-loaded {
        transform: scale(1.04);
    }

    .ig-card.is-in:hover .ig-card-shade,
    .ig-card.is-in:hover .ig-card-hover {
        opacity: 1;
    }

    .ig-card.is-in:hover .ig-card-hover {
        transform: translateY(0);
    }
}

.ig-nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.58);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    color: var(--black);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-50%) scale(0.96);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
    pointer-events: none;
}

.ig-nav svg {
    width: 18px;
    height: 18px;
}

.ig-nav-prev { left: clamp(12px, 2.5vw, 28px); }
.ig-nav-next { right: clamp(12px, 2.5vw, 28px); }

@media (hover: hover) and (pointer: fine) {
    .instagram-section.is-ready .ig-carousel:hover .ig-nav,
    .ig-nav:focus-visible {
        opacity: 1;
        transform: translateY(-50%) scale(1);
        pointer-events: auto;
    }

    .ig-nav:hover {
        background: rgba(255, 255, 255, 0.92);
    }
}

.ig-skeleton-card {
    flex: 0 0 auto;
    width: min(360px, 78vw);
    aspect-ratio: 4 / 5;
    border-radius: 22px;
    background: linear-gradient(100deg, #e4e4de 15%, #f1f1ec 40%, #e4e4de 65%);
    background-size: 220% 100%;
    animation: igShimmer 1.35s ease-in-out infinite;
    scroll-snap-align: start;
}

@keyframes igShimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.ig-empty {
    width: min(100%, 420px);
    text-align: center;
    padding: 40px 24px;
}

.ig-empty-title {
    font-family: var(--font-main);
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--black);
}

.ig-empty-desc {
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    margin: 0 0 12px;
    color: rgba(0, 0, 0, 0.5);
}

.ig-empty-link {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.65);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.instagram-section.is-empty-state .ig-nav {
    display: none;
}

/* Tablet: ~2.35 posts visible with a peek of the next */
@media (min-width: 768px) and (max-width: 1024px) {
    #instagram-track {
        --ig-visible: 2.35;
        --ig-gap: 16px;
        --ig-edge: 28px;
        gap: var(--ig-gap);
        padding: 0 var(--ig-edge);
    }

    #instagram-track .ig-card,
    #instagram-track .ig-skeleton-card {
        width: calc(
            (100vw - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)
                - (var(--ig-edge) * 2)
                - (var(--ig-gap) * (var(--ig-visible) - 1)))
            / var(--ig-visible)
        );
        max-width: none;
        border-radius: 20px;
        scroll-snap-align: start;
    }

    .ig-carousel::before,
    .ig-carousel::after {
        width: 56px;
    }

    .ig-nav {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .instagram-section {
        padding: 80px 0 72px;
    }

    .ig-shell {
        padding: 0 16px;
    }

    html body .instagram-section .stats-title {
        /* inherit shared mobile section title scale */
        margin-bottom: 16px !important;
    }

    html body .instagram-section .ig-subtitle,
    html body .instagram-section .stats-subtitle {
        color: var(--black) !important;
        text-align: center !important;
    }

    .ig-carousel {
        margin-top: 28px;
        padding: 0;
        max-width: none;
    }

    .ig-carousel::before,
    .ig-carousel::after {
        width: 40px;
    }

    /* Mobile: one full post centered, peeks of prev + next on both sides */
    #instagram-track {
        --ig-card-w: min(78vw, 320px);
        --ig-gap: 12px;
        gap: var(--ig-gap);
        padding-left: max(12px, calc((100vw - var(--ig-card-w)) / 2));
        padding-right: max(12px, calc((100vw - var(--ig-card-w)) / 2));
        box-sizing: border-box;
    }

    .ig-viewport {
        padding: 8px 0 20px;
        scroll-snap-type: x mandatory;
    }

    #instagram-track .ig-card,
    #instagram-track .ig-skeleton-card {
        width: var(--ig-card-w);
        max-width: none;
        border-radius: 20px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .ig-nav {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ig-viewport,
    .ig-card,
    .ig-card-media img,
    .ig-card-hover,
    .ig-nav {
        scroll-behavior: auto !important;
        transition: none !important;
    }

    .ig-card {
        opacity: 1;
        transform: none;
    }
}

/* ??? Support Section ??????????????????????????????????????????????????????? */
.support-section {
    width: 100%;
    padding: 80px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
}

/* Subtitle: same colour/opacity as every other section */
.support-desc {
    font-family: var(--font-main);
    font-size: 26px;
    font-weight: 500;
    color: #000000;
    text-align: center;
    max-width: 55ch;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .support-section {
        padding: 56px 16px;
    }
    .desktop-only-br {
        display: none;
    }
    .hero-text-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        padding-top: 40px;
    }
    .hero-title {
        text-align: center !important;
        margin-bottom: 12px !important;
    }
    .hero-cta {
        align-self: center !important;
        margin-top: 28px !important;
        margin-bottom: 24px !important;
    }
    .hero-visual-col {
        margin-top: 0px !important;
    }
}

@media (max-width: 1024px) {
    .desktop-only-br {
        display: none;
    }
}

@media (min-width: 1025px), (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    #desktop-hero-main {
        font-size: clamp(46px, 5vw, 62px) !important;
        line-height: 0.95 !important;
        max-width: none !important;
        margin-inline: 0 !important;
        margin-bottom: 24px !important;
        text-align: left !important;
    }

    .header-group {
        margin-top: 6vh !important;
        margin-bottom: 36px !important;
        align-items: flex-start !important;
        margin-left: 0 !important;
        max-width: none !important;
    }

    .hero-sub {
        text-align: left !important;
        max-width: 26ch !important;
    }

    .hero-cta {
        margin-top: 32px !important;
        align-self: flex-start !important;
        margin-left: 0 !important;
    }

    #landing-screen .main-content {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        max-width: 1400px !important;
        margin: 0 !important;
        padding-left: clamp(20px, 3vw, 60px) !important;
        padding-right: clamp(10px, 2vw, 40px) !important;
        gap: 40px;
    }

    .hero-text-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        z-index: 10;
        max-width: 50%;
    }

    .hero-visual-col {
        display: flex;
        flex: 1;
        justify-content: center;
        align-items: center;
        z-index: 5;
        transform: translateX(1vw);
    }

    .hero-machine-container {
        position: relative;
        width: clamp(500px, 68vmin, 760px);
        margin-top: -2vh;
        margin-left: 0;
        pointer-events: none;
        user-select: none;
    }

    .hero-machine-img {
        width: 100%;
        height: auto;
        display: block;
        filter: drop-shadow(0 30px 60px rgba(0,0,0,0.08));
    }

    .hero-machine-slot {
        position: absolute;
        overflow: hidden;
        display: flex;
        justify-content: center;
        top: 50.95%;
        left: 50%;
        transform: translateX(-50%);
        width: 35%;
        height: 58%;
    }


    .hero-photostrip-anim {
        width: 74%;
        height: auto;
        object-fit: contain;
        transform-origin: top center;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-font-smoothing: antialiased;
        image-rendering: -webkit-optimize-contrast;

        transform: translateZ(0);
        animation: photostrip-print 9s ease-in-out infinite;
    }
}

@media (max-width: 767px), (max-width: 1024px) and (orientation: portrait) {
    .hero-visual-col {
        display: flex;
        justify-content: center;
        width: 100%;
        margin-top: 40px;
    }
    .hero-machine-container {
        position: relative;
        width: clamp(200px, 55vw, 300px);
        pointer-events: none;
        user-select: none;
    }
    .hero-machine-img {
        width: 100%;
        height: auto;
        display: block;
        filter: drop-shadow(0 20px 40px rgba(0,0,0,0.08));
    }
    .hero-machine-slot {
        position: absolute;
        overflow: hidden;
        display: flex;
        justify-content: center;
        top: 50.95%;
        left: 50%;
        transform: translateX(-50%);
        width: 35%;
        height: 58%;
    }

    .hero-photostrip-anim {
        width: 74%;
        height: auto;
        object-fit: contain;
        transform-origin: top center;
        backface-visibility: hidden;
        -webkit-font-smoothing: antialiased;
        image-rendering: -webkit-optimize-contrast;

        transform: translateZ(0);
        animation: photostrip-print 9s ease-in-out infinite;
    }
}

@keyframes photostrip-print {
    0%   { transform: translate3d(0%, -105%, 0) rotate(0deg); }
    30%  { transform: translate3d(1.5%, -12%, 0) rotate(1.2deg); }
    33%  { transform: translate3d(-1%, -14%, 0) rotate(-0.6deg); }
    35%  { transform: translate3d(0.5%, -15.5%, 0) rotate(0.3deg); }
    37%  { transform: translate3d(0%, -15%, 0) rotate(0deg); }
    66%  { transform: translate3d(0%, -15%, 0) rotate(0deg); }
    90%  { transform: translate3d(0.5%, -105%, 0) rotate(0.8deg); }
    100% { transform: translate3d(0%, -105%, 0) rotate(0deg); }
}

@media (min-width: 1025px), (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    #landing-screen {
        min-height: 100vh !important;
        justify-content: center !important;
    }

    .p1 { left: 6vw !important; top: 100px !important; }
    .p2 { right: 8vw !important; top: 110px !important; }
    .p3 { left: 7vw !important; bottom: 110px !important; }
    .p4 { right: 6vw !important; bottom: 125px !important; }
}

.inline-h1-img {
    height: 1em;
    width: auto;
    vertical-align: middle;
    transform: translateY(-3px);
    border-radius: 8px;
    margin: 0 10px;
    display: inline-block;
    background-color: #fff;
    border: 1px solid #000;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Inline hero image - mobile */
@media (max-width: 767px) {
    .inline-h1-img {
        height: 0.85em !important;
        border-radius: 6px !important;
        margin: 0 6px !important;
        transform: translateY(-2px) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
    }
}

/* Inline hero image - tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .inline-h1-img {
        height: 0.9em !important;
        border-radius: 8px !important;
        margin: 0 10px !important;
        transform: translateY(-3px) !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07) !important;
    }
}

/* --- TRUST BADGES MARQUEE --- */
.trust-badges-row {
    display: flex;
    overflow: hidden;
    background-color: #ffffff;
    padding: 16px 0;
    z-index: 10;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    /* Improve performance for scrolling */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.trust-badges-row .marquee-track {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    justify-content: space-around;
    min-width: 100%;
    gap: 48px;
    padding: 0 24px;
    animation: scroll-marquee 20s linear infinite;
    will-change: transform;
}

.trust-badges-row:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--black, #000);
    letter-spacing: 0.3px;
}

.trust-badge svg {
    width: 16px;
    height: 16px;
    stroke: var(--black, #000);
    opacity: 0.9;
}

@media (max-width: 767px) {
    #landing-screen > div.trust-badges-row.marquee-container,
    .trust-badges-row {
        position: relative !important;
        bottom: auto !important;
        margin-top: 48px !important;
        column-gap: 20px;
        padding: 16px max(24px, var(--safe-left), var(--safe-right)) !important;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        box-sizing: border-box !important;
        /* Match desktop height */
    }

    .trust-badge {
        font-size: 14px !important;
        /* Match desktop size */
    }
    
    .trust-badge svg {
        width: 16px !important;
        height: 16px !important;
    }
}
/* ========================================== */
/* PREMIUM ANIMATED HERO BACKGROUND           */
/* ========================================== */

.hero-visual-col {
    position: relative;
}

.premium-bg-system {
    position: absolute;
    inset: -100px;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.bg-scaling-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 800px;
    aspect-ratio: 1200 / 400;
}

.hero-machine-container {
    z-index: 2;
}

.world-map-bg {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    transform: translateY(40px);
    background-image: url('../assets/map.webp');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.connection-paths {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible;
}

.conn-path {
    stroke: #F12850;
    stroke-width: 3;
    fill: none;
    opacity: 0.35;
    stroke-dasharray: 4 8;
    stroke-linecap: round;
}

.data-particle {
    /* removed filter: drop-shadow to fix rendering jiggle */
}

.center-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(241,40,80,1) 0%, rgba(241,40,80,0) 70%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0;
    animation: center-pulse 4s ease-out infinite;
    animation-delay: 3.8s;
}

@keyframes center-pulse {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0.15; }
    25% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

.avatar-wrapper {
    position: absolute;
    transform: translate3d(-50%, -50%, 0);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 3;
}

.avatar-left {
    left: 15%;
    top: 30%;
}

.avatar-right {
    left: 85%;
    top: 70%;
}

.avatar-img-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateZ(0);
}

.avatar-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(241, 40, 80, 0.75);
    animation: pulse-ring 3s infinite ease-out;
    pointer-events: none;
    z-index: 1;
}

.avatar-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    position: relative;
    z-index: 2;
    transform: translateZ(0);
    will-change: transform;
    image-rendering: high-quality;
    -webkit-backface-visibility: hidden;
}

@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
    .avatar-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

.location-pin {
    color: #F12850;
    animation: float-pin 4s infinite ease-in-out;
    margin-bottom: -6px;
}

.location-pin svg {
    width: 22px;
    height: 22px;
}

.avatar-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
}

.avatar-label .city {
    font-size: 14px;
    font-weight: 600;
    color: #111;
    line-height: 1.2;
}

.avatar-label .country {
    font-size: 11px;
    color: #666;
}

@keyframes float-pin {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 1024px) {
    .premium-bg-system {
        inset: -50px;
    }
    .world-map-bg {
        transform: translateY(40px) scale(1.25) !important;
    }
    .avatar-wrapper {
        transform: translate3d(-50%, -50%, 0) scale(0.8);
    }
}

@media (max-width: 767px) {
    .premium-bg-system {
        opacity: 1;
        inset: 0 !important;
    }
    .bg-scaling-container {
        width: 90% !important;
    }
    .avatar-wrapper {
        transform: translate3d(-50%, -50%, 0) scale(0.55);
    }
}

/* ??? 5. iPad Air Landscape Fix (820px ? 1180px) ??? */
@media (min-width: 768px) and (max-width: 1366px) and (hover: none) and (pointer: coarse) and (orientation: landscape) {

  /* Fix top gap and layout for landscape */
  #landing-screen {
    padding-top: 70px !important;
    padding-bottom: 20px !important;
    min-height: 100svh !important;
    height: 100svh !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  /* Force side-by-side row layout */
  #landing-screen .main-content {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-left: 40px !important;
    padding-right: 24px !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    height: 100% !important;
  }

  /* Left col */
  .hero-text-col {
    flex: 1 !important;
    max-width: 52% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
  }

  /* Right col */
  .hero-visual-col {
    flex: 1 !important;
    max-width: 48% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    transform: none !important;
    height: auto !important;
  }

  /* Header group */
  .header-group {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    align-items: flex-start !important;
  }

  /* Title */
  .hero-title,
  #landing-screen .hero-title,
  #desktop-hero-main {
    font-size: clamp(38px, 5vw, 56px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.025em !important;
    margin-bottom: 12px !important;
    text-align: left !important;
    max-width: none !important;
    word-break: normal !important;
    margin-inline: 0 !important;
  }

  /* Subtitle */
  .hero-sub {
    font-size: clamp(18px, 2vw, 24px) !important;
    max-width: 36ch !important;
    text-align: left !important;
    margin-inline: 0 !important;
  }

  /* CTA button */
  .hero-cta {
    margin-top: 32px !important;
    align-self: flex-start !important;
  }

  .btn-main {
    padding: 12px 24px !important;
    font-size: 16px !important;
  }

  /* Machine */
  .hero-machine-container {
    position: relative !important;
    width: clamp(280px, 38vw, 420px) !important;
    margin-top: 0 !important;
    pointer-events: none !important;
    flex-shrink: 0 !important;
  }

  .hero-machine-img {
    width: 100% !important;
    height: auto !important;
    max-height: 78vh !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* Photostrip slot stays pinned inside machine */
  .hero-machine-slot {
    position: absolute !important;
    top: 50.95% !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 35% !important;
    height: 58% !important;
    overflow: hidden !important;
    display: flex !important;
  }

  .hero-photostrip-anim {
    width: 74% !important;
    height: auto !important;
    object-fit: contain !important;
    animation: photostrip-print 9s ease-in-out infinite !important;
  }

  /* Trust badges - show on landscape tablet */
  .trust-badges-row {
    display: flex !important;
  }

  /* Live chip */
  .new-feature-chip {
    margin-bottom: 12px !important;
  }

  /* Hero CTA spacing */
  .hero-cta {
    margin-top: 30px !important;
    align-self: flex-start !important;
  }

      /* Premium bg system restored for landscape */
  .premium-bg-system {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none !important;
    overflow: visible !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* Use a bulletproof static scale to avoid Safari vw transform bugs */
  .bg-scaling-container {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 1200px !important;
    height: 600px !important;
    transform: translate(-50%, -50%) scale(0.68) !important;
    transform-origin: center center !important;
  }

  .avatar-wrapper {
    z-index: 3 !important;
    transform: translate3d(-50%, -50%, 0) scale(1) !important;
  }
  
  .avatar-left {
    left: 15% !important;
    top: 30% !important;
  }

  .avatar-right {
    left: 85% !important;
    top: 70% !important;
    right: auto !important;
  }
}

/* ==========================================================================
   COMMUNITY SHOWCASE SECTION (SaaS & Premium minimal style)
   ========================================================================== */

.community-showcase-section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 60px var(--safe-x);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.community-header {
    text-align: center;
    margin-bottom: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.community-title {
    font-family: var(--font-main);
    font-size: 52px;
    font-weight: 600;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 12px;
    max-width: 800px;
    text-align: center;
    letter-spacing: -0.02em;
}

/* Custom accent word styling for "Captured" with Caveat font */
.community-title .accent {
    font-family: var(--font-accent);
    color: var(--primary);
    font-size: 1.28em !important;
    font-weight: 700;
    margin-left: 0.05em;
    margin-right: 0.15em;
    display: inline-block;
    line-height: inherit;
    transform: translateY(3px) rotate(-2deg);
    white-space: nowrap;
}

.community-subtitle {
    font-family: var(--font-main);
    font-size: 26px;
    font-weight: 500;
    color: #000000;
    max-width: 650px;
    text-align: center;
    line-height: 1.45;
}

/* ?? Community Showcase Machine Animation ?? */
#community-showcase-slot {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 680px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    box-sizing: border-box;
    background-color: #ffffff;
    /* Subtle SPOTLIGHT watermark - very low opacity */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='80' viewBox='0 0 240 80'%3E%3Ctext x='50%25' y='50%25' font-family='Satoshi, -apple-system, sans-serif' font-size='36' font-weight='900' fill='%23F12850' fill-opacity='0.04' dominant-baseline='middle' text-anchor='middle'%3ESPOTLIGHT%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
    overflow: hidden; /* clip strip inside the card boundary */
}

/* Outer wrapper: machine + username card, top-aligned so strip has room below */
.cs-machine-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    padding: 32px 0 0 0;
    overflow: visible;
}

/* Scene: holds the machine rig, fades in on load */
.cs-scene {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    overflow: visible;
    animation: csFadeIn 0.6s ease both;
}

@keyframes csFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Machine rig: fills the available column width, overflow visible so strip hangs below */
.cs-machine-rig {
    position: relative;
    /* Fill up to ~90% of the left column - much larger than before */
    width: clamp(300px, 82%, 520px);
    flex-shrink: 0;
    overflow: visible; /* allows strip to extend below the machine body */
}

/* The machine image itself - sits on top of the strip inside the slot opening */
.cs-machine-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.22));
    user-select: none;
    -webkit-user-select: none;
    position: relative;
    z-index: 3; /* above the strip mask so machine hides strip inside the slot */
}

/*
 * Strip mask: anchored at the slot opening (top: 69% of machine image height).
 * width: 37% matches the physical black slot opening (pixel-measured).
 * aspect-ratio: matches exact strip image dimensions (696x2345) so height always
 *   equals the rendered strip height - no overflowing, no clipping on any screen size.
 * overflow: hidden - clips the strip when it is above the slot (hidden state).
 * z-index: 4 - above machine img (z-index:3) so strip renders in front of machine.
 */
.cs-strip-mask {
    position: absolute;
    top: 69%;
    left: 50%;
    transform: translateX(-50%);
    width: 37%;
    aspect-ratio: auto;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    z-index: 4;
}

/* Desktop only: machine sized so full strip (ratio 1:3.37) fits in the 680px slot.
   At 420px machine: machine ~235px tall, slot at ~162px, strip ~483px tall.
   Total: 162 + 483 = 645px - fits within the 648px available (680px - 32px padding). */
@media (min-width: 768px) {
    .cs-machine-rig {
        width: clamp(280px, 55%, 420px);
    }
    
    /* Increase just the photostrip size relative to the machine on desktop */
    .cs-strip-mask {
        width: 37%;
    }
}

/*
 * Strip image: fills the mask width. translate3d Y% is relative to the IMAGE height.
 * At -100% the entire strip is above the slot (hidden). At 0% it hangs fully out.
 * transform-origin: top center so it slides down from the slot opening.
 */
.cs-strip-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transform-origin: top center;
    will-change: transform;
    display: block;
    flex-shrink: 0;
    max-width: 100%;
    animation: csStripSlide 6s linear infinite;
}

@keyframes csStripSlide {
    0%   { transform: translate3d(0%, -100%, 0) rotate(0deg); }
    30%  { transform: translate3d(1.5%, 0%, 0) rotate(1.2deg); }
    33%  { transform: translate3d(-1%, 2%, 0) rotate(-0.6deg); }
    35%  { transform: translate3d(0.5%, -0.5%, 0) rotate(0.3deg); }
    37%  { transform: translate3d(0%, 0%, 0) rotate(0deg); }
    66%  { transform: translate3d(0%, 0%, 0) rotate(0deg); }
    88%  { transform: translate3d(0%, -100%, 0) rotate(0deg); }
    100% { transform: translate3d(0%, -100%, 0) rotate(0deg); }
}

/* Username card: absolute at bottom of slot, always visible below the strip */
.cs-username-card {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    /* max-width scales with the machine rig - never overflows the slot */
    max-width: 90%;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 999px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 14px rgba(0,0,0,0.09);
    animation: csFadeIn 0.8s ease 0.3s both;
    z-index: 10;
    box-sizing: border-box;
}

.cs-featured-text {
    font-family: var(--font-main);
    font-size: clamp(10px, 1.2vw, 13px);
    font-weight: 600;
    color: #F12850;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.cs-username-display {
    font-family: var(--font-main);
    /* Scales fluidly: 11px min ? 15px max, relative to slot width */
    font-size: clamp(11px, 1.4vw, 15px);
    font-weight: 600;
    color: var(--black);
    letter-spacing: -0.01em;
    /* Truncate with ellipsis if name is extremely long */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* @media: reduce-motion - freeze strip, keep machine visible */
@media (prefers-reduced-motion: reduce) {
    .cs-strip-img {
        animation: none;
        transform: translateY(0%);
    }
    .cs-scene {
        animation: none;
    }
    .cs-username-card {
        animation: none;
    }
}



/* Card Container with retro 1.5px black border - flat design without shadow */
.community-container {
    width: 100%;
    max-width: 1280px;
    background: var(--white);
    border: 1.5px solid var(--black);
    border-radius: var(--radius-card, 24px);
    padding: 32px;
    display: grid;
    grid-template-columns: 3fr 2fr; /* 60% and 40% */
    gap: 0;
    align-items: stretch;
    margin: 0 auto;
    box-sizing: border-box;
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Custom scale animation on reveal */
.community-container.reveal {
    transform: translateY(30px) scale(0.98);
    opacity: 0;
}

.community-container.reveal.active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Left Column */
.community-left {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--border);
    padding-right: 32px;
    overflow: hidden; /* clip strip so it doesn't escape the card boundary */
    border-radius: 22px 0 0 22px; /* match the card's border-radius on left side */
}




/* Right Column */
.community-right {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-left: 32px;
}

.submission-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    gap: 8px;
}

.spotlight-badge {
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: #FFF0F3;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    display: inline-block;
    border: 1px solid rgba(241, 40, 80, 0.12);
}

.card-heading {
    font-family: var(--font-main);
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--black);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.card-description {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: #000000;
    margin: 0;
}

.card-divider {
    border: 0;
    height: 1px;
    background: var(--border);
    margin: 6px 0;
    width: 100%;
}

.card-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.submit-btn {
    width: 100%;
    height: 52px;
    background: var(--black);
    color: var(--white);
    border: 1.5px solid var(--black);
    border-radius: var(--radius-btn, 12px);
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.25s ease, border-color 0.25s ease;
    margin-bottom: 12px;
    text-decoration: none;
    box-sizing: border-box;
    position: relative;
}

.submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -6px;
}

.submit-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.submit-btn:active {
    transform: translateY(0);
}

.helper-text {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 400;
    color: #000000;
    text-align: center;
    margin: 0;
}

/* ==========================================================================
   RESPONSIVE DESIGN FOR COMMUNITY SHOWCASE
   ========================================================================= */

/* Adjustable for all tablet layouts (iPad, portrait/landscape tablets) */
@media (max-width: 1200px) {
    .community-container {
        padding: 32px;
        gap: 0;
    }
    .community-left {
        padding-right: 24px;
    }
    .community-right {
        padding-left: 24px;
    }
}

@media (max-width: 1024px) {
    .community-container {
        grid-template-columns: 55fr 45fr;
        padding: 24px;
        gap: 0;
        width: calc(100% - 48px);
    }
    .community-left {
        padding-right: 20px;
    }
    .community-right {
        padding-left: 20px;
    }
    
    #community-showcase-slot {
        min-height: 500px;
    }
}

/* Stacking for smaller tablet/mobile devices */
@media (max-width: 767px) {
    .community-showcase-section {
        padding: 56px var(--safe-x);
    }

    .community-header {
        /* margin handled by global rules */
    }

    /* Tablet - match hero-title scale at this breakpoint */
    .community-title {
        font-size: 32px !important;
        line-height: 1 !important;
        margin-bottom: 10px !important;
        letter-spacing: -0.04em !important;
    }

    .community-subtitle {
        font-size: 17px !important;
        line-height: 1.5 !important;
        max-width: 26ch !important;
    }
    
    .community-container {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 24px;
        border-radius: 20px;
        width: 100%;
    }
    
    /* Order: Showcase on top, card below */
    .community-left {
        order: 1;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 24px;
        border-radius: 0; /* remove desktop left-side radius when stacked */
    }
    
    .community-right {
        order: 2;
        padding-left: 0;
        padding-top: 24px;
    }
    
    #community-showcase-slot {
        min-height: 540px; /* reduced to minimize gap with card */
    }

    /* Tablet: machine capped at 360px so full strip (1:3.37 ratio) fits in the 600px slot.
       At 360px machine: machine ~202px tall, slot at ~139px, strip ~414px tall.
       Total: 139 + 414 = 553px - fits within 568px available (600px - 32px padding). */
    .cs-machine-rig {
        width: clamp(240px, 55%, 360px);
    }

    /* Tablet: strip mask proportions scale naturally - no fixed height override needed */

    .cs-machine-wrapper {
        padding: 0;
    }

    .cs-username-display {
        font-size: 14px;
    }

    .cs-username-card {
        padding: 8px 16px;
        bottom: 16px;
    }
    
    .spotlight-badge {
        font-size: 11px;
    }

    .card-heading {
        font-size: 24px;
        line-height: 1.2;
    }

    .card-description {
        font-size: 14px;
        line-height: 1.5;
    }

    .checklist-list li {
        font-size: 16px;
    }

    .submit-btn {
        font-size: 15px;
        height: 48px;
    }

    /* Helper text stays legible on tablet */
    .helper-text {
        font-size: 13px;
    }
}

/* Community Showcase - Mobile phones */
@media (max-width: 480px) {
    .community-title {
        font-size: 32px !important;
        line-height: 1 !important;
        margin-bottom: 8px !important;
        letter-spacing: -0.01em !important;
    }

    .community-subtitle {
        font-size: 17px !important;
        line-height: 1.5 !important;
        max-width: 38ch;
    }

    .card-heading {
        font-size: 22px !important;
        line-height: 1.2 !important;
    }

    .card-description {
        font-size: 13px !important;
        line-height: 1.5 !important;
    }

    .helper-text {
        font-size: 12px !important;
        line-height: 1.4 !important;
    }

    .checklist-list li {
        font-size: 13px !important;
    }

    /* Mobile: machine fills the narrow column */
    .cs-machine-rig {
        width: clamp(220px, 75%, 360px);
    }

    /* Mobile: strip mask proportions scale naturally - no fixed height override needed */

    #community-showcase-slot {
        min-height: 420px;
    }

    .cs-machine-wrapper {
        padding: 12px 0 0 0;
    }

    .cs-username-display {
        font-size: 13px;
    }

    .cs-username-card {
        padding: 7px 14px;
        bottom: 12px;
    }
}


@media (prefers-reduced-motion: reduce) {
    .reveal,
    .community-container.reveal,
    .community-container.reveal.active,
    .submit-btn {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }
}

/* ==========================================================================
   COMMUNITY SHOWCASE SUBMISSION MODAL STYLES
   ========================================================================== */

.submit-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 19100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.submit-modal-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}

.submit-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.submit-modal-overlay.visible .submit-modal-backdrop {
    opacity: 1;
}

.submit-modal-card {
    position: relative;
    z-index: 1;
    background: var(--white);
    border-radius: 24px;
    border: 2px solid var(--black);
    box-shadow: 8px 8px 0 var(--black);
    padding: 32px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    max-height: 90dvh;
    overflow-y: auto;
    box-sizing: border-box;
    transform: translateY(12px) scale(0.98);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    will-change: transform, opacity;
}

.submit-modal-overlay.visible .submit-modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.submit-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--black);
    opacity: 0.6;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s, background-color 0.2s;
}

.submit-modal-close:hover {
    opacity: 1;
    background-color: var(--gray-light);
}

.submit-modal-headline {
    font-family: var(--font-main) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--black) !important;
    margin: 0 0 8px 0 !important;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-align: center;
}

.submit-modal-desc {
    font-family: var(--font-main) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--black) !important;
    margin: 0 0 32px 0 !important;
    line-height: 1.5;
    text-align: center;
}

.submit-modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-label {
    font-family: var(--font-main);
    font-size: 13px;
    font-weight: 700;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.required-star {
    color: var(--primary);
}

.form-input {
    width: 100%;
    height: 48px;
    border-radius: 12px;
    border: 1.5px solid var(--black);
    padding: 0 16px;
    font-family: var(--font-main);
    font-size: 15px;
    color: var(--black);
    background: var(--white);
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Upload area styling */
.upload-area {
    border: 1.5px dashed #cccccc;
    border-radius: 16px;
    padding: 28px 16px;
    text-align: center;
    background: #FAFAFA;
    cursor: pointer;
    transition: border-color 0.2s, background-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    position: relative;
    box-sizing: border-box;
}

.upload-area:hover, .upload-area.dragover {
    border-color: var(--black);
    background-color: var(--gray-light);
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
}

.upload-main-text {
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    margin-bottom: 4px;
}

.upload-link-text {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.upload-sub-text {
    font-family: var(--font-main);
    font-size: 11px;
    color: var(--gray-dark);
}

/* Image preview styling */
.upload-preview {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    flex-direction: row;
    justify-content: flex-start;
    padding: 12px;
    background: var(--gray-light, #f0f0f0);
    max-height: 72px;
    border: 1px solid var(--border);
    box-sizing: border-box;
}

.upload-preview img {
    width: 48px;
    height: 48px;
    max-height: 48px;
    object-fit: cover;
    margin-right: 12px;
    border: none;
    border-radius: 8px;
}

.upload-preview-filename {
    display: block;
    font-family: var(--font-main, 'Satoshi', sans-serif);
    font-size: 14px;
    font-weight: 500;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
    margin-right: 12px;
    text-align: left;
}

.remove-preview-btn {
    position: static;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.08);
    color: var(--black);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
}

.remove-preview-btn:hover {
    background: rgba(0, 0, 0, 0.2);
}

.error-message {
    font-family: var(--font-main);
    font-size: 12px;
    color: var(--primary);
    margin: 4px 0 0 0;
    text-align: left;
}

.submit-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
}

.modal-submit-btn {
    width: 100%;
    height: 52px;
    background: var(--black);
    color: var(--white);
    border: 1.5px solid var(--black);
    border-radius: 14px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
    position: relative;
}

.modal-submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -6px;
}

.modal-submit-btn:hover:not(:disabled) {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.modal-submit-btn:active:not(:disabled) {
    transform: translateY(0);
}

.modal-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.modal-cancel-btn {
    width: 100%;
    height: 52px;
    background: var(--white);
    color: var(--black);
    border: 1.5px solid var(--black);
    border-radius: 14px;
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    position: relative;
}

.modal-cancel-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: -6px;
}

.modal-cancel-btn:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--black);
    border-color: var(--black);
}

.modal-cancel-btn:active {
    transform: translateY(0);
}

/* Success state styles */
.success-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.12);
    border-radius: 50%;
    margin: 0 auto 16px;
}

.success-icon-svg {
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes popIn {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-body {
    font-family: var(--font-main) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 1.5;
    color: var(--black) !important;
    margin-bottom: 32px !important;
    text-align: center !important;
}

/* Tablet Optimization - modal is centered, keeps its spacing and width constraint */
@media (min-width: 481px) and (max-width: 767px) {
    .submit-modal-overlay {
        padding: 16px !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .submit-modal-card {
        max-width: min(480px, calc(100vw - 32px)) !important;
        border-radius: 24px !important;
        border: 2px solid var(--black) !important;
        box-shadow: 8px 8px 0 #000 !important;
    }
}

/* Mobile - full comfortable layout, no content changes */
@media (max-width: 480px) {
    /* Community header - readable on small phones */
    .community-title {
        font-size: 30px !important;
        line-height: 1.2;
        margin-bottom: 8px;
    }
    .community-subtitle {
        font-size: 16px !important;
        line-height: 1.45;
    }

    /* Modal sheet slides up from bottom on mobile */
    .submit-modal-overlay {
        padding: 0;
        align-items: flex-end;
    }
    .submit-modal-card {
        max-width: 100%;
        width: 100%;
        max-height: 80vh;
        max-height: 80dvh;
        overflow-y: auto;
        border-radius: 24px 24px 0 0;
        border: none;
        box-shadow: none;
        padding: 32px 24px 40px;
    }

    /* Lock modal text sizes so global page styles can't shrink them */
    .submit-modal-headline {
        font-size: 22px !important;
        font-weight: 700 !important;
        color: var(--black) !important;
        margin: 0 0 8px 0 !important;
        text-align: center !important;
    }
    .submit-modal-desc,
    .success-body {
        font-size: 16px !important;
        font-weight: 500 !important;
        color: var(--black) !important;
        line-height: 1.5 !important;
        text-align: center !important;
    }

    .upload-preview {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px;
        background: var(--gray-light, #f0f0f0);
        max-height: 72px;
        border: 1px solid var(--border);
    }
    .upload-preview img {
        width: 48px;
        height: 48px;
        max-height: 48px;
        object-fit: cover;
        margin-right: 12px;
        border: none;
    }
    .upload-preview-filename {
        display: block;
        font-family: var(--font-main, 'Satoshi', sans-serif);
        font-size: 14px;
        font-weight: 500;
        color: var(--black);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex: 1;
        margin-right: 12px;
        text-align: left;
    }
    .remove-preview-btn {
        position: static;
        flex-shrink: 0;
        background: rgba(0, 0, 0, 0.08);
        color: var(--black);
    }
}

@media (prefers-reduced-motion: reduce) {
    .submit-modal-overlay,
    .submit-modal-backdrop,
    .submit-modal-card {
        transition: none !important;
        transform: none !important;
        animation: none !important;
    }
}


/* ===================================================================
   FINAL TYPOGRAPHY OVERRIDE - CLEAN SINGLE SOURCE OF TRUTH
   =================================================================== */

/* TABLET */
@media (min-width:768px) and (max-width:1024px) and (orientation:portrait){

  .stats-title,
  .showcase-title,
  .community-title{
    font-size:52px !important;
    line-height:0.98 !important;
    font-weight:700 !important;
    letter-spacing:-0.045em !important;
    margin-bottom:24px !important;
    max-width:none !important;
    text-align:center !important;
  }

  .stats-subtitle,
  .showcase-sub,
  .community-subtitle,
  .ig-subtitle{
    font-size:24px !important;
    line-height:1.45 !important;
    font-weight:500 !important;
    max-width:40ch !important;
    margin-inline:auto !important;
    text-align:center !important;
  }
}

/* MOBILE */
@media (max-width:767px){

  .stats-title,
  .showcase-title,
  .community-title{
    font-size:34px !important;
    line-height:1 !important;
    font-weight:700 !important;
    letter-spacing:-0.04em !important;
    max-width:92vw !important;
    margin-bottom:16px !important;
    text-align:center !important;
  }

  .stats-subtitle,
  .showcase-sub,
  .community-subtitle,
  .ig-subtitle{
    font-size:17px !important;
    line-height:1.5 !important;
    font-weight:500 !important;
    max-width:26ch !important;
    margin-inline:auto !important;
    text-align:center !important;
  }
  

}


/* ===================================================================
   COMMUNITY FOOTER TABLET FIX
   Prevent global tablet p{} rule from enlarging submission metadata
   =================================================================== */
@media (max-width: 1024px) {
    .submission-card-footer p {
        font-size: 12px !important;
        line-height: 1.4 !important;
        font-weight: 500 !important;
        margin-bottom: 0 !important;
    }
}


/* ===================================================================
   COMMUNITY SPOTLIGHT - TOAST NOTIFICATION SYSTEM
   Scoped exclusively to .cs-toast-* - no global impact.
   =================================================================== */

/* ?? Container ????????????????????????????????????????????????????? */
#cs-toast-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;   /* let clicks fall through to page */
    width: 340px;
    max-width: calc(100vw - 32px);
}

/* ?? Individual Toast Card ????????????????????????????????????????? */
.cs-toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    border-radius: var(--radius-lg, 12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    font-family: var(--font-main, 'Satoshi', system-ui, sans-serif);
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    animation: csToastIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
    will-change: transform, opacity;
    word-break: break-word;
    background: var(--black, #111);
}

/* ?? Type Colours ?????????????????????????????????????????????????? */
.cs-toast--success {
    background: #16A34A;
}

.cs-toast--error {
    background: #DC2626;
}

.cs-toast--warning {
    background: #D97706;
}

.cs-toast--info {
    background: #1D4ED8;
}

.cs-toast--loading {
    background: var(--black, #111);
}

/* ?? Icon ?????????????????????????????????????????????????????????? */
.cs-toast__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    font-size: 15px;
    line-height: 1;
}

.cs-toast__icon svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Loading spinner icon */
.cs-toast__spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: csToastSpin 0.7s linear infinite;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ?? Body ?????????????????????????????????????????????????????????? */
.cs-toast__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cs-toast__title {
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: -0.01em;
    color: #fff;
}

.cs-toast__msg {
    font-size: 12.5px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.55;
}

.cs-toast__title:only-child {
    font-weight: 600;
}

/* ?? Leave Animation ??????????????????????????????????????????????? */
.cs-toast.is-leaving {
    animation: csToastOut 0.32s cubic-bezier(0.4, 0, 1, 1) forwards;
}

/* ?? Keyframes ????????????????????????????????????????????????????? */
@keyframes csToastIn {
    from {
        opacity: 0;
        transform: translateY(-14px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes csToastOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }
}

@keyframes csToastSpin {
    to { transform: rotate(360deg); }
}

/* ?? Mobile: Top-Center ???????????????????????????????????????????? */
@media (max-width: 640px) {
    #cs-toast-container {
        top: 16px;
        width: calc(100vw - 32px);
        max-width: 380px;
    }

    .cs-toast {
        width: 100%;
    }
}

/* ?? Respect prefers-reduced-motion ???????????????????????????????? */
@media (prefers-reduced-motion: reduce) {
    .cs-toast,
    .cs-toast.is-leaving,
    .cs-toast__spinner {
        animation: none !important;
        transition: none !important;
    }

    .cs-toast.is-leaving {
        opacity: 0;
    }
}

/* --- HERO TITLE ACCENT CUSTOM ALIGNMENT AND LINE HEIGHT FOR ALL SCREEN SIZES --- */
/* Base (Desktop) */
.hero-title .accent {
    line-height: 0.7 !important;
    transform: translateY(4px) rotate(-2deg) !important;
}

/* Tablet viewports */
@media (max-width: 1024px) {
    .hero-title .accent {
        line-height: 0.7 !important;
        transform: translateY(4px) rotate(-2deg) !important;
    }
}

/* Mobile viewports */
@media (max-width: 480px) {
    .hero-title .accent {
        line-height: 0.7 !important;
        transform: translateY(2px) rotate(-2deg) !important;
    }
}

/* --- COMMUNITY TITLE LINE HEIGHT OVERRIDES FOR ALL SCREEN SIZES --- */
.community-title {
    line-height: 1.25 !important;
}

/* --- HOMEPAGE TABLET TYPOGRAPHY UNIFICATION (768px - 1024px) --- */
@media (min-width: 768px) and (max-width: 1024px),
       (min-width: 768px) and (max-width: 1024px) and (orientation: portrait),
       (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    /* All section h2 titles (Ultra-high specificity) ? exclude modal headlines */
    html body h1:not(.share-modal-title):not(.post-dl-modal-title):not(.submit-modal-headline):not(.leave-modal-headline):not(.retake-conflict-title):not(.feedback-title):not(.trust-modal-headline):not(.success-modal-title),
    html body h2.stats-title,
    html body h2.showcase-title,
    html body h2.community-title,
    html body h2.faq-title,
    html body h2.section-title,
    html body .stats-title,
    html body .showcase-title,
    html body .community-title,
    html body .faq-title,
    html body .hero-title,
    html body .about-hero-title,
    html body .section-title,
    html body .about-cta-title,
    html body #support-section-title,
    html body #blog-section-title,
    html body .sec h1,
    html body .sec h2.stats-title,
    html body .sec h2.showcase-title,
    html body .sec h2.community-title,
    html body .sec h2.faq-title,
    html body .sec h2.section-title,
    html body .hero h1,
    html body .blog-hero h1,
    html body .section-header .stats-title {
        font-size: 46px !important;
        font-weight: 700 !important;
        line-height: 1.15 !important;
        white-space: normal !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
    }

    /* Section subtitles / main paragraphs */
    html body .hero p,
    html body .hero-sub,
    html body .section-sub,
    html body .about-hero-sub,
    html body .stats-subtitle,
    html body .ig-subtitle,
    html body .showcase-sub,
    html body .community-subtitle,
    html body .support-desc,
    html body .faq-subtitle,
    html body .about-cta-sub,
    html body .sec p,
    html body .contact-card-desc,
    html body .faq-a {
        font-size: 23px !important;
        line-height: 1.5 !important;
        white-space: normal !important;
    }

    /* Blog card descriptions */
    html body .blog-card-desc {
        font-size: 16px !important;
    }
}

/* Ensure support-desc has no bottom margin on mobile/tablet to respect global header spacing */
@media (max-width: 1024px) {
    html body .support-desc {
        margin-bottom: 0 !important;
    }
}

/* Force perfect support section mobile spacing to matches other sections exactly */
@media (max-width: 767px) {
    html body #support .section-header {
        margin-bottom: 36px !important;
    }
    html body #support .section-header .support-desc {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        font-size: 17px !important;
        line-height: 1.5 !important;
        font-weight: 500 !important;
        max-width: 26ch !important;
        margin-inline: auto !important;
        text-align: center !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }
    html body #support .stats-title {
        margin-bottom: 16px !important;
    }
    html body #support .btn-wrap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* Force uniform text wrap for all section descriptions on mobile and tablet devices */
@media (max-width: 767px) {
    html body .hero-sub,
    html body .stats-subtitle,
    html body .showcase-sub,
    html body .community-subtitle,
    html body .support-desc,
    html body .faq-subtitle,
    html body .ig-subtitle,
    html body .about-cta-sub,
    html body .blog-cta-sub,
    html body .strips-subtitle {
        max-width: 32ch !important;
    }

    /* Instagram blurb: shared wrap, no extra side padding that squeezes lines */
    html body #instagram .ig-subtitle {
        max-width: 32ch !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-inline: auto !important;
        text-wrap: balance;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    html body .hero-sub,
    html body .stats-subtitle,
    html body .showcase-sub,
    html body .community-subtitle,
    html body .support-desc,
    html body .faq-subtitle,
    html body .ig-subtitle,
    html body .about-cta-sub,
    html body .blog-cta-sub,
    html body .strips-subtitle {
        max-width: 50ch !important;
    }

    html body #instagram .ig-subtitle {
        max-width: 42ch !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-inline: auto !important;
        text-wrap: balance;
    }
}

@media (min-width: 1025px) {
    html body #instagram .ig-subtitle {
        max-width: 42ch !important;
        margin-inline: auto !important;
        text-wrap: balance;
    }
}

/* ===================================================================
   UNIFIED RESPONSIVE MODAL TYPOGRAPHY (MOBILE & TABLET)
   =================================================================== */
@media (max-width: 767px) {
    .submit-modal-headline,
    .trust-modal-headline,
    .leave-modal-headline {
        font-family: var(--font-main, 'Satoshi', sans-serif) !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        color: var(--black, #000) !important;
        margin: 0 0 8px 0 !important;
        text-align: center !important;
        letter-spacing: -0.01em !important;
    }

    .submit-modal-desc,
    .success-body,
    .trust-modal-body,
    .leave-modal-desc {
        font-family: var(--font-main, 'Satoshi', sans-serif) !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1.6 !important;
        color: var(--black, #000) !important;
        text-align: center !important;
        margin: 0 0 32px 0 !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .submit-modal-headline,
    .trust-modal-headline,
    .leave-modal-headline {
        font-family: var(--font-main, 'Satoshi', sans-serif) !important;
        font-size: 24px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        color: var(--black, #000) !important;
        margin: 0 0 8px 0 !important;
        text-align: center !important;
        letter-spacing: -0.01em !important;
    }

    .submit-modal-desc,
    .success-body,
    .trust-modal-body,
    .leave-modal-desc {
        font-family: var(--font-main, 'Satoshi', sans-serif) !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        line-height: 1.6 !important;
        color: var(--black, #000) !important;
        text-align: center !important;
        margin: 0 0 32px 0 !important;
    }
}





/* ??? Community Section ??????????????????????????????????????????????????????? */
.community-section {
    width: 100%;
    padding: 80px 24px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.community-inner {
    width: 100%;
    max-width: 800px;
    background: #fff;
    border: 1.5px solid #000;
    border-radius: 24px;
    padding: 64px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Desktop only: wider community card */
@media (min-width: 1025px) {
    html body #community .community-inner {
        max-width: 980px;
        padding: 72px 56px;
    }
}

.community-eyebrow {
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: #FFF0F3;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(241, 40, 80, 0.12);
}

.community-desc {
    font-family: var(--font-main);
    font-size: 26px;
    font-weight: 500;
    color: #000;
    max-width: 42ch;
    margin: 0 auto 32px;
    line-height: 1.45;
    text-align: center;
}

.community-btn,
#home-feedback-btn.community-btn {
    width: auto !important;
    min-width: var(--btn-width);
    max-width: 100%;
    padding: 0 32px;
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    /* Beat .btn-main { gap: 0 } ? space via gap, not SVG margin tricks */
    gap: 8px !important;
    transition: transform 0.2s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.2s ease;
}

.community-btn .cta-icon-feedback,
#home-feedback-btn .cta-icon-feedback {
    width: 1.15em !important;
    height: 1.15em !important;
    flex-shrink: 0 !important;
    display: block !important;
    margin: 0 !important;
    vertical-align: unset !important;
    overflow: visible !important;
    /* Bubble tail makes glyph look top-heavy vs text */
    transform: translateY(0.06em) !important;
}

.community-btn:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 #000;
}

.community-btn:active {
    transform: translateY(2px);
    box-shadow: 0 0 0 #000;
}

@media (max-width: 1024px) {
    /* Match support/other sections: clear space from desc ? CTA */
    html body #community .community-desc {
        font-size: 23px !important;
        line-height: 1.5 !important;
        font-weight: 500 !important;
        max-width: 40ch !important;
        margin: 0 auto 36px !important;
    }
    html body #community .community-inner > .btn-wrap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

@media (max-width: 767px) {
    .community-section {
        padding: 56px 16px;
    }
    .community-inner {
        padding: 48px 24px;
        border-radius: 24px;
    }
    html body #community .community-desc {
        font-size: 17px !important;
        line-height: 1.5 !important;
        font-weight: 500 !important;
        max-width: 30ch !important;
        margin: 0 auto 32px !important;
    }
    html body #community .stats-title {
        margin-bottom: 16px !important;
    }
}

/* Animated Chip Text ? JS driven */
:root {
    --chip-h: 24px;
}

.chip-anim-wrapper {
    overflow: hidden;
    height: var(--chip-h);
}

.chip-slides-inner {
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.chip-slides-inner.show-second {
    transform: translateY(calc(-1 * var(--chip-h)));
}

.chip-slide {
    height: var(--chip-h);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    white-space: nowrap;
}

.chip-slide .chip-text {
    flex-grow: 1;
    text-align: center;
    white-space: nowrap;
}

.pink-badge {
    background-color: #e3173e !important;
    color: #ffffff !important;
}


/* ===================================================================
   FINAL MODAL TEXT LOCK (mobile + tablet) ? homepage / strips modals
   =================================================================== */
@media (max-width: 1024px) {
    .trust-modal-card .trust-modal-headline,
    .trust-modal-card h2,
    .submit-modal-card .submit-modal-headline,
    .submit-modal-card h1,
    .submit-modal-card h2,
    .leave-modal-card .leave-modal-headline,
    .leave-modal-card h2,
    #_lb_leave_modal h2 {
        width: auto !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
        box-sizing: border-box !important;
    }

    .trust-modal-card .trust-modal-body,
    .trust-modal-card p,
    .submit-modal-card .submit-modal-desc,
    .submit-modal-card .success-body,
    .leave-modal-card .leave-modal-desc,
    #_lb_leave_modal p {
        width: auto !important;
        max-width: 100% !important;
        margin-inline: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        word-break: normal !important;
    }

    /* Trust modal stays left-aligned (desktop pattern) */
    .trust-modal-card .trust-modal-headline,
    .trust-modal-card .trust-modal-body {
        text-align: left !important;
    }
}

@media (max-width: 767px) {
    html body .trust-modal-headline,
    html body .submit-modal-headline,
    html body .leave-modal-headline,
    html body #_lb_leave_modal h2 {
        font-family: var(--font-main, 'Satoshi', sans-serif) !important;
        font-size: 22px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        letter-spacing: -0.02em !important;
        margin: 0 0 8px 0 !important;
        color: #000 !important;
    }

    html body .trust-modal-body,
    html body .submit-modal-desc,
    html body .success-body,
    html body .leave-modal-desc,
    html body #_lb_leave_modal p {
        font-family: var(--font-main, 'Satoshi', sans-serif) !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        line-height: 1.55 !important;
        color: #000 !important;
    }

    html body .trust-modal-headline,
    html body .trust-modal-body {
        text-align: left !important;
    }

    html body .submit-modal-headline,
    html body .submit-modal-desc,
    html body .success-body,
    html body .leave-modal-headline,
    html body .leave-modal-desc,
    html body #_lb_leave_modal h2,
    html body #_lb_leave_modal p {
        text-align: center !important;
    }

    html body .trust-modal-indicator {
        font-size: 13px !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    html body .trust-modal-headline,
    html body .submit-modal-headline,
    html body .leave-modal-headline,
    html body #_lb_leave_modal h2 {
        font-family: var(--font-main, 'Satoshi', sans-serif) !important;
        font-size: 24px !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
        letter-spacing: -0.02em !important;
        margin: 0 0 10px 0 !important;
        color: #000 !important;
    }

    html body .trust-modal-body,
    html body .submit-modal-desc,
    html body .success-body,
    html body .leave-modal-desc,
    html body #_lb_leave_modal p {
        font-family: var(--font-main, 'Satoshi', sans-serif) !important;
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1.55 !important;
        color: #000 !important;
    }

    html body .trust-modal-headline,
    html body .trust-modal-body {
        text-align: left !important;
    }
}