/**
 * InvitKeun — branding publik (cream/beige) — landing & halaman situs
 * Undangan (template) tidak memakai file ini.
 */

:root {
    --brand-cream: #e8dcc8;
    --brand-cream-light: #f4ede4;
    --brand-cream-soft: #faf6f1;
    --brand-cream-dark: #d9c9b0;
    --brand-cream-deep: #c4b196;
    --brand-ink: #342c24;
    --brand-ink-muted: #6b5f52;
    --brand-ink-soft: #8a7d6e;
    --brand-accent: #4a6741;
    --brand-accent-light: #5a7a50;
    --brand-accent-dark: #3a5234;
    --brand-border: rgba(52, 44, 36, 0.1);
    --brand-shadow: rgba(52, 44, 36, 0.08);
    --site-nav-h: 4.75rem;
}

@media (min-width: 1024px) {
    :root {
        --site-nav-h: 5.5rem;
    }
}

/* ——— Body publik ——— */
body.site-public {
    background: var(--brand-cream-soft);
    color: var(--brand-ink);
}

body.site-public main {
    min-height: 50vh;
}

/* Auth — palet sama landing */
body.site-public .site-page--auth {
    background: linear-gradient(180deg, var(--brand-cream-light) 0%, var(--brand-cream-soft) 45%, #fff 100%);
}

body.site-public .auth-panel-card {
    background: #fff;
    border: 1px solid var(--brand-border);
    box-shadow: 0 24px 60px var(--brand-shadow);
}

body.site-public .auth-panel-card .bg-invitkeun {
    background: var(--brand-accent) !important;
}

/* ——— Navbar seragam ——— */
.site-navbar {
    background: var(--brand-cream-light) !important;
    border-bottom: 1px solid var(--brand-border);
    box-shadow: 0 4px 24px var(--brand-shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.site-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: var(--site-nav-h);
    padding-block: 0.75rem;
}

@media (min-width: 1024px) {
    .site-navbar__inner {
        padding-block: 0.875rem;
    }
}

.site-navbar .btn-nav-outline,
.site-navbar .btn-nav-solid {
    min-height: 2.5rem;
    padding: 0.55rem 1.15rem;
    font-size: 0.8125rem;
}

.site-navbar .site-nav-logo__mark {
    width: clamp(6.75rem, 15vw, 8.75rem);
    height: 2.5rem;
    background: transparent;
    color: inherit;
}

@media (min-width: 1024px) {
    .site-navbar .site-nav-logo__mark {
        width: 9rem;
        height: 2.75rem;
    }
}

.site-navbar .site-nav-logo__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

.site-navbar .site-nav-link {
    color: var(--brand-ink-muted);
    font-weight: 500;
}

.site-navbar .site-nav-link:hover,
.site-navbar .site-nav-link.is-active {
    color: var(--brand-accent);
}

.site-navbar .site-nav-logo__mark {
    background: transparent;
    color: inherit;
}

.site-navbar .btn-nav-outline {
    color: var(--brand-accent);
    border-color: rgba(74, 103, 65, 0.45);
    background: transparent;
}

.site-navbar .btn-nav-outline:hover {
    background: var(--brand-accent);
    color: #fff;
    border-color: var(--brand-accent);
}

.site-navbar .btn-nav-solid {
    background: var(--brand-accent);
    color: #fff;
    box-shadow: 0 8px 22px rgba(74, 103, 65, 0.22);
}

.site-navbar .btn-nav-solid:hover {
    background: var(--brand-accent-dark);
}

/* Tombol hamburger — hanya mobile (jangan override Tailwind lg:hidden) */
.site-navbar__menu-btn {
    display: none;
}

@media (max-width: 1023px) {
    .site-navbar__menu-btn {
        position: relative;
        z-index: 60;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 2.75rem;
        min-height: 2.75rem;
        padding: 0.5rem;
        border-radius: 0.65rem;
        color: var(--brand-ink);
        background: transparent;
        border: none;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    .site-navbar__menu-btn:hover {
        background: var(--brand-cream);
    }
}

.site-navbar__mobile {
    position: relative;
    z-index: 55;
    background: var(--brand-cream-light);
    border-top: 1px solid var(--brand-border);
    box-shadow: 0 12px 32px var(--brand-shadow);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease;
}

.site-navbar__mobile.is-open {
    max-height: 28rem;
    opacity: 1;
    pointer-events: auto;
}

.site-navbar__mobile:not(.is-open) {
    pointer-events: none;
}

.site-navbar__mobile-link {
    display: block;
    padding: 0.65rem 0.85rem;
    border-radius: 0.65rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--brand-ink-muted);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.site-navbar__mobile-link:hover {
    background: var(--brand-cream);
    color: var(--brand-accent);
}

.site-navbar__mobile-actions {
    display: flex;
    gap: 0.5rem;
    padding-top: 0.85rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--brand-border);
}

body.site-mobile-menu-open {
    overflow: hidden;
}

@media (min-width: 1024px) {
    .site-navbar__menu-btn,
    .site-navbar__mobile {
        display: none !important;
    }

    .site-navbar__mobile.is-open {
        max-height: 0 !important;
        opacity: 0 !important;
    }

    body.site-mobile-menu-open {
        overflow: auto;
    }
}

/* ——— Hero halaman dalam (templates, pricing, static pages, dll.) ——— */
.site-page-hero {
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--site-nav-h) + 2.5rem);
    padding-bottom: clamp(2.5rem, 6vw, 4rem);
    background:
        radial-gradient(ellipse 90% 70% at 50% -10%, rgba(255, 255, 255, 0.55), transparent 50%),
        linear-gradient(180deg, var(--brand-cream-light) 0%, var(--brand-cream) 55%, var(--brand-cream-dark) 100%);
    border-bottom: 1px solid var(--brand-border);
}

.site-page-hero__inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.site-page-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--brand-ink-muted);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid var(--brand-border);
    margin-bottom: 1rem;
}

.site-page-hero__badge i {
    color: var(--gold, #c9a96e);
}

.site-page-hero__script {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    line-height: 1.1;
    color: var(--brand-accent);
    margin: 0 0 0.35rem;
}

.site-page-hero__title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.35rem);
    font-weight: 700;
    color: var(--brand-ink);
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.site-page-hero__lead {
    font-size: clamp(0.9rem, 2.2vw, 1.05rem);
    line-height: 1.65;
    color: var(--brand-ink-muted);
    max-width: 36rem;
    margin-inline: auto;
}

.site-page-hero--compact {
    padding-top: calc(var(--site-nav-h) + 1.5rem);
    padding-bottom: clamp(1.5rem, 4vw, 2.25rem);
}

.site-page-hero--compact .site-page-hero__script {
    font-size: clamp(2rem, 5vw, 2.85rem);
}

.site-page-hero__lead--narrow {
    max-width: 32rem;
}

.site-page-hero__actions {
    margin-top: 0.25rem;
}

.site-page-hero__actions .btn-brand {
    padding-inline: 1.5rem;
}

.site-page-hero__actions .btn-brand--solid {
    background: var(--brand-accent) !important;
    color: #fff !important;
    border: 1px solid var(--brand-accent-dark);
}

.site-page-hero__actions .btn-brand--solid:hover {
    background: var(--brand-accent-dark) !important;
    color: #fff !important;
}

.site-page-hero__actions .btn-brand--solid i {
    color: #fff !important;
}

.site-page-hero__actions .btn-brand--outline {
    background: #fff !important;
    color: var(--brand-ink) !important;
    border: 1px solid var(--brand-border);
}

.site-page-hero__actions .btn-brand--outline:hover {
    background: var(--brand-cream-light) !important;
    color: var(--brand-accent) !important;
}

.site-page-hero__decor {
    pointer-events: none;
    position: absolute;
    inset: 0;
    opacity: 0.35;
}

.site-page-hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(52, 44, 36, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 44, 36, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, black 0%, transparent 85%);
}

/* ——— Footer + prefooter CTA (satu zona cream, tidak bentrok) ——— */
.site-cta-band {
    background: var(--brand-cream-soft);
    border-top: 1px solid var(--brand-border);
    border-bottom: 1px solid var(--brand-border);
    padding-block: clamp(3rem, 8vw, 4.5rem);
}

.site-cta-band--inline {
    background: var(--brand-cream-soft);
}

.site-cta-band--prefooter {
    background: var(--brand-cream);
    border-bottom: none;
    padding-bottom: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 0;
}

.site-cta-band--prefooter + .site-footer {
    border-top: none;
    padding-top: 0;
}

.site-cta-band__inner {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 1.25rem;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    box-shadow: 0 12px 40px var(--brand-shadow);
}

.site-cta-band__lead {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--brand-ink-muted);
}

.site-cta-band .landing-cta-script,
.site-cta-band .landing-cta-title {
    color: var(--brand-ink);
}

.site-cta-band p:not(.site-cta-band__lead) {
    color: var(--brand-ink-muted);
}

.site-footer {
    background: var(--brand-cream);
    color: var(--brand-ink-muted);
    border-top: 1px solid var(--brand-border);
}

.site-footer h4 {
    color: var(--brand-ink);
    font-family: 'Playfair Display', serif;
}

.site-footer a {
    color: var(--brand-ink-muted);
}

.site-footer a:hover {
    color: var(--brand-accent);
}

.site-footer .site-footer__logo-mark {
    width: 9rem;
    height: 2.75rem;
    background: transparent;
    color: inherit;
    border: 0;
    box-shadow: none;
}

.site-footer .site-footer__logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left center;
}

body.site-public .site-nav-logo,
body.site-public .site-nav-logo__mark,
body.site-public .site-nav-logo__image,
body.site-public .site-footer__logo-mark,
body.site-public .site-footer__logo-image,
body.site-public .auth-logo,
body.site-public .auth-logo img {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.site-public .site-nav-logo__mark {
    width: clamp(8.75rem, 18vw, 11rem) !important;
    height: 3.25rem !important;
}

body.site-public .site-nav-logo__image,
body.site-public .site-footer__logo-image,
body.site-public .auth-logo img {
    display: block;
    object-fit: contain;
    object-position: left center;
}

body.site-public .site-footer__logo-mark {
    width: 10.75rem !important;
    height: 3.25rem !important;
}

body.site-public .auth-logo img {
    width: min(12.5rem, 76vw);
    height: auto;
    max-height: 3.75rem;
}

.site-footer .site-footer__social {
    background: rgba(255, 255, 255, 0.35);
    color: var(--brand-ink);
    border: 1px solid var(--brand-border);
}

.site-footer .site-footer__social:hover {
    background: var(--brand-accent);
    color: #fff;
    border-color: var(--brand-accent);
}

.site-footer .site-footer__bottom {
    background: var(--brand-cream-dark);
    border-top: 1px solid var(--brand-border);
}

.site-footer .site-footer__bottom p {
    color: var(--brand-ink-soft);
}

/* Footer — mobile rata tengah */
@media (max-width: 1023px) {
    .site-footer__grid {
        text-align: center;
    }

    .site-footer__brand-link,
    .site-footer__socials {
        justify-content: center;
    }

    .site-footer__brand-link {
        margin-inline: auto;
        width: fit-content;
    }

    .site-footer__col .site-footer__list li a {
        justify-content: center;
    }

    .site-footer__list--contact {
        display: grid;
        gap: 0.65rem !important;
        max-width: 18rem;
        margin-inline: auto;
    }

    .site-footer__list--contact li.flex {
        display: grid;
        grid-template-columns: 2rem minmax(0, 1fr);
        align-items: center;
        gap: 0.75rem;
        text-align: left;
        padding: 0.55rem 0.75rem;
        border: 1px solid rgba(74, 103, 65, 0.12);
        border-radius: 0.85rem;
        background: rgba(255, 255, 255, 0.28);
    }

    .site-footer__list--contact li.flex i {
        display: inline-grid;
        place-items: center;
        width: 2rem;
        height: 2rem;
        margin-top: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.5);
    }

    .site-footer__list--contact li.flex span,
    .site-footer__list--contact li.flex a {
        min-width: 0;
        line-height: 1.4;
    }

    .site-footer__bottom-inner {
        text-align: center;
    }

    .site-footer__bottom-inner p {
        width: 100%;
    }
}

/* Tombol brand seragam — padding di sini (bukan hanya landing.css) */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-sizing: border-box;
    min-height: 2.75rem;
    padding: 0.65rem 1.5rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25;
    white-space: nowrap;
    text-decoration: none;
    text-align: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}

.btn-brand--wide,
.landing-btn--wide.btn-brand {
    min-width: min(100%, 16rem);
    padding-inline: 2rem;
}

.btn-brand--sm,
.landing-btn-sm.btn-brand {
    min-height: 2rem;
    padding: 0.4rem 0.9rem;
    font-size: 0.6875rem;
    line-height: 1.2;
}

body.site-public .site-cta-band .btn-brand,
body.site-public .site-page-hero__actions .btn-brand {
    min-height: 2.75rem;
}

body.site-public .landing-btn.btn-brand--solid,
body.site-public .landing-section .btn-brand--solid {
    background: var(--brand-accent) !important;
    color: #fff !important;
    border: 1px solid var(--brand-accent-dark);
}

body.site-public .landing-btn.btn-brand--solid:hover,
body.site-public .landing-section .btn-brand--solid:hover {
    background: var(--brand-accent-dark) !important;
    color: #fff !important;
}

body.site-public .landing-hero__actions .btn-brand--outline {
    background: #fff !important;
    color: var(--brand-ink) !important;
    border: 1px solid var(--brand-border);
    box-shadow: 0 6px 20px var(--brand-shadow);
}

body.site-public .landing-hero__actions .btn-brand--outline:hover {
    background: var(--brand-cream-light) !important;
    color: var(--brand-accent) !important;
}

.btn-brand--solid {
    background: var(--brand-accent);
    color: #fff;
    box-shadow: 0 10px 28px rgba(74, 103, 65, 0.22);
}

.btn-brand--solid:hover {
    background: var(--brand-accent-dark);
    transform: translateY(-1px);
}

.btn-brand--outline {
    background: #fff;
    color: var(--brand-ink);
    border: 1px solid var(--brand-border);
}

.btn-brand--outline:hover {
    background: var(--brand-cream-light);
    border-color: rgba(74, 103, 65, 0.35);
    color: var(--brand-accent);
}

/* WhatsApp float — selaras brand (bukan neon terpisah) */
.site-wa-float__btn {
    background: var(--brand-accent);
    box-shadow: 0 10px 28px rgba(74, 103, 65, 0.28);
    border: 2px solid rgba(255, 255, 255, 0.85);
}

.site-wa-float__pulse {
    background: var(--brand-accent);
}

.site-wa-float .absolute.bottom-full {
    background: #fff;
    border: 1px solid var(--brand-border);
}

.site-wa-float .absolute.bottom-full p {
    color: var(--brand-ink-muted);
}

/* ——— Landing: hero foto pernikahan + overlay halus ——— */
.landing-hero--brand {
    background: #2a3d2e;
}

.landing-hero--brand .landing-hero__overlay {
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255, 255, 255, 0.08), transparent 55%),
        linear-gradient(
            180deg,
            rgba(20, 32, 24, 0.45) 0%,
            rgba(36, 52, 40, 0.35) 40%,
            rgba(244, 237, 228, 0.72) 78%,
            rgba(244, 237, 228, 0.88) 100%
        );
}

.landing-hero--brand .landing-hero__img {
    opacity: 1;
    filter: saturate(1.05) contrast(1.04);
    object-position: center 35%;
    transform: scale(1.02);
}

.landing-hero--brand .landing-hero__content {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 36rem;
    margin-inline: auto;
    padding: calc(var(--site-nav-h) + 1.25rem) clamp(1rem, 4vw, 1.5rem) clamp(2rem, 5vw, 2.5rem);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.landing-hero--brand .landing-hero__panel {
    width: 100%;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.92);
    border-radius: 1.35rem;
    padding: clamp(1.35rem, 4vw, 2rem);
    box-shadow: 0 22px 56px rgba(20, 32, 24, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.landing-hero--brand .landing-hero__badge {
    display: inline-block;
    margin: 0 auto 1rem;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-ink-muted);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid var(--brand-border);
}

.landing-hero--brand .landing-hero__headline {
    margin: 0 0 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.landing-hero--brand .landing-hero__headline-main {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.65rem, 5vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--brand-ink);
    letter-spacing: -0.02em;
}

.landing-hero--brand .landing-hero__headline-script {
    font-family: 'Great Vibes', cursive;
    font-size: clamp(1.85rem, 5.5vw, 2.65rem);
    line-height: 1.1;
    color: var(--brand-accent);
    font-weight: 400;
}

.landing-hero--brand .landing-hero__desc {
    color: var(--brand-ink-muted);
    font-size: clamp(0.875rem, 2.2vw, 0.975rem);
    line-height: 1.65;
    max-width: 28rem;
    margin: 0 auto 1.25rem;
}

.landing-hero--brand .landing-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
    max-width: 20rem;
    margin-inline: auto;
}

@media (min-width: 480px) {
    .landing-hero--brand .landing-hero__actions {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        max-width: none;
    }

    .landing-hero--brand .landing-hero__actions .landing-btn {
        flex: 0 1 auto;
        min-width: 10.5rem;
    }
}

.landing-hero--brand .landing-hero__scroll {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    color: var(--brand-ink-soft);
    animation: landingHeroBounce 2.2s ease-in-out infinite;
    transition: color 0.2s;
}

.landing-hero--brand .landing-hero__scroll:hover {
    color: var(--brand-accent);
}

@keyframes landingHeroBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

.landing-hero--brand #particles {
    opacity: 0.22;
    mix-blend-mode: soft-light;
}

@media (min-width: 768px) {
    .landing-hero--brand .landing-hero__content {
        max-width: 40rem;
    }

    .landing-hero--brand .landing-hero__img {
        object-position: center 30%;
    }
}

/* Stats bar: kartu ringkas, tetap rapi di mobile */
.landing-stats--brand {
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.36), transparent 28%),
        linear-gradient(180deg, var(--brand-cream), var(--brand-cream-dark));
    color: var(--brand-ink);
    border-top: 1px solid var(--brand-border);
    border-bottom: 1px solid var(--brand-border);
}

.landing-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    max-width: 56rem;
    margin-inline: auto;
}

.landing-stat-card {
    display: grid;
    justify-items: center;
    align-content: center;
    min-height: 6.25rem;
    padding: 0.85rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.34);
    box-shadow: 0 12px 30px rgba(74, 103, 65, 0.08);
}

.landing-stat-icon {
    display: inline-grid;
    place-items: center;
    width: 1.95rem;
    height: 1.95rem;
    margin-bottom: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--brand-accent);
    font-size: 0.76rem;
}

.landing-stats--brand .landing-stat-value {
    color: var(--brand-accent-dark);
    font-size: clamp(1.08rem, 1.75vw, 1.35rem);
    line-height: 1.05;
}

.landing-stats--brand .landing-stat-label {
    color: var(--brand-ink-muted);
    font-size: 0.72rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .landing-stats-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .landing-stat-card {
        min-height: 6.35rem;
    }
}

@media (max-width: 420px) {
    .landing-stats-grid {
        gap: 0.55rem;
    }

    .landing-stat-card {
        min-height: 5.85rem;
        padding: 0.7rem 0.45rem;
    }

    .landing-stat-icon {
        width: 1.75rem;
        height: 1.75rem;
        margin-bottom: 0.3rem;
        font-size: 0.68rem;
    }

    .landing-stats--brand .landing-stat-value {
        font-size: 1.08rem;
    }

    .landing-stats--brand .landing-stat-label {
        font-size: 0.68rem;
    }
}

@media (max-width: 767px) {
    body.site-public {
        overflow-x: hidden;
    }

    .landing-hero--brand .landing-hero__content,
    .landing-hero--brand .landing-hero__panel,
    .landing-stats-grid,
    .landing-stat-card {
        min-width: 0;
        max-width: 100%;
    }

    .landing-hero--brand .landing-hero__panel {
        width: min(100%, calc(100vw - 2rem));
        padding-inline: clamp(1rem, 5vw, 1.35rem);
    }

    .landing-hero--brand .landing-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 17rem;
    }

    .landing-hero--brand .landing-hero__actions .landing-btn,
    .landing-hero--brand .landing-hero__actions .btn-brand {
        width: 100%;
        min-width: 0;
        padding-inline: 1rem;
        white-space: normal;
    }

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

    .landing-stat-value {
        font-size: 1.25rem;
    }

    .landing-stat-label {
        font-size: 0.68rem;
    }
}

@media (max-width: 640px) {
    .landing-hero--brand .landing-hero__actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
        max-width: 17rem !important;
    }

    .landing-hero--brand .landing-hero__actions .landing-btn,
    .landing-hero--brand .landing-hero__actions .btn-brand {
        width: 100% !important;
        min-width: 0 !important;
    }
}
/* Section umum — alternasi putih / cream lembut */
body.site-public .landing-section.bg-white,
body.site-public section.bg-white {
    background: #fff !important;
}

body.site-public .landing-section.bg-gray-50,
body.site-public section.bg-gray-50,
body.site-public section.bg-gray-100 {
    background: var(--brand-cream-soft) !important;
}

/* Tailwind gray → token brand (landing tidak “nabrak”) */
body.site-public .text-gray-900,
body.site-public .text-gray-800 {
    color: var(--brand-ink) !important;
}

body.site-public .text-gray-700,
body.site-public .text-gray-600 {
    color: var(--brand-ink-muted) !important;
}

body.site-public .text-gray-500,
body.site-public .text-gray-400 {
    color: var(--brand-ink-soft) !important;
}

body.site-public .border-gray-100,
body.site-public .border-gray-50 {
    border-color: var(--brand-border) !important;
}

body.site-public .bg-gray-100 {
    background-color: var(--brand-cream-light) !important;
}

body.site-public .bg-gray-300 {
    background-color: var(--brand-cream-dark) !important;
}

body.site-public .feature-card {
    background: #fff;
    border-color: var(--brand-border);
    box-shadow: 0 10px 32px var(--brand-shadow);
}

body.site-public .landing-banner-cta {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, var(--brand-cream-light) 100%);
    border-color: var(--brand-border);
}

body.site-public .landing-banner-cta strong {
    color: var(--brand-ink);
}

/* Tombol & aksen di halaman publik */
body.site-public .bg-invitkeun {
    background-color: var(--brand-accent) !important;
}

body.site-public .bg-invitkeun:hover,
body.site-public .hover\:bg-invitkeun-dark:hover {
    background-color: var(--brand-accent-dark) !important;
}

body.site-public .text-invitkeun {
    color: var(--brand-accent) !important;
}

body.site-public .border-invitkeun {
    border-color: rgba(74, 103, 65, 0.45) !important;
}

body.site-public .bg-invitkeun-50 {
    background-color: rgba(232, 220, 200, 0.55) !important;
}

body.site-public .landing-kicker {
    color: var(--brand-accent);
}

body.site-public .landing-title {
    color: var(--brand-ink);
}

body.site-public .landing-lead {
    color: var(--brand-ink-muted);
}

body.site-public .landing-price,
body.site-public .landing-price-card__amount {
    color: var(--brand-accent-dark) !important;
}

/* Kartu pricing di landing */
body.site-public .landing-section .border-invitkeun.rounded-2xl {
    border-color: rgba(74, 103, 65, 0.28) !important;
    box-shadow: 0 16px 48px var(--brand-shadow) !important;
}

body.site-public .shadow-invitkeun\/10,
body.site-public .shadow-invitkeun\/20 {
    --tw-shadow-color: rgba(52, 44, 36, 0.08) !important;
}

/* ——— Section halaman publik (lebar = landing) ——— */
body.site-public .site-page-section {
    padding-block: clamp(3rem, 7vw, 5rem);
}

body.site-public .page-inner-content.site-page-prose,
body.site-public .page-container > .site-page-prose {
    max-width: var(--public-content);
    margin-inline: auto;
    width: 100%;
}

/* ——— Widget preview template (demo) ——— */
.template-preview-section {
    padding-block: clamp(2rem, 5vw, 3.25rem) !important;
    background: linear-gradient(180deg, #f8faf9 0%, #f1f5f3 100%);
}

.template-preview-widget {
    max-width: var(--site-max);
    margin-inline: auto;
    width: 100%;
}

.template-preview-widget__card {
    padding: clamp(1.15rem, 3vw, 1.65rem);
    border-radius: 1.25rem;
    border: 1px solid var(--brand-border);
    background: #fff;
    box-shadow: 0 18px 48px rgba(52, 44, 36, 0.08);
}

.template-preview-widget__head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.template-preview-widget__intro {
    text-align: center;
}

.template-preview-widget__title {
    margin: 0.2rem 0 0;
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--brand-ink);
}

.template-preview-widget__lead {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--brand-ink-muted);
}

@media (min-width: 768px) {
    .template-preview-widget__head {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1.25rem;
    }

    .template-preview-widget__intro {
        text-align: left;
        flex: 1 1 auto;
        min-width: 0;
    }
}

.template-preview-widget__toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
}

@media (min-width: 480px) {
    .template-preview-widget__toolbar {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .template-preview-widget__toolbar {
        justify-content: flex-end;
    }
}

.template-preview-widget__modes {
    display: inline-flex;
    padding: 0.2rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--brand-border);
    box-shadow: 0 4px 16px var(--brand-shadow);
}

.template-preview-widget__mode {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.9rem;
    border: none;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--brand-ink-muted);
    background: transparent;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.template-preview-widget__mode.is-active {
    background: var(--brand-accent);
    color: #fff;
}

.template-preview-widget__external {
    white-space: nowrap;
}

.template-preview-widget__hint {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.5rem;
    max-width: 36rem;
    margin: 0 auto 1.15rem;
    padding: 0.55rem 0.85rem;
    text-align: left;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--brand-ink-muted);
    background: var(--brand-cream-soft, #f5f8f6);
    border: 1px solid var(--brand-border);
    border-radius: 0.65rem;
}

.template-preview-widget__hint i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: var(--brand-accent);
}

.template-preview-widget__hint strong {
    color: var(--brand-ink);
    font-weight: 600;
}

.template-preview-widget__stage {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-inline: auto;
}

.template-preview-widget__shell {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 28px 70px rgba(52, 44, 36, 0.18);
    transition: max-width 0.35s ease, border-radius 0.35s ease, padding 0.35s ease;
}

.template-preview-widget__frame {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow: hidden;
    background: #fff;
    isolation: isolate;
}

.template-preview-widget__stage.is-mobile .template-preview-widget__shell {
    max-width: min(100%, 22rem);
    padding: 0.65rem;
    border-radius: 2.25rem;
}

.template-preview-widget__stage.is-desktop .template-preview-widget__shell {
    max-width: 100%;
    padding: 0;
    border-radius: 0.75rem;
    border: 1px solid var(--brand-border);
    background: #f8faf9;
}

.template-preview-widget__notch {
    display: block;
    flex-shrink: 0;
    width: 5.5rem;
    height: 1.35rem;
    margin: 0 auto -0.65rem;
    background: #1a1a1a;
    border-radius: 0 0 1rem 1rem;
    z-index: 3;
    pointer-events: none;
}

.template-preview-widget__stage.is-desktop .template-preview-widget__notch {
    display: none;
}

.template-preview-widget__browser {
    display: none;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 0.75rem;
    background: #e8ece9;
    border-bottom: 1px solid var(--brand-border);
}

.template-preview-widget__stage.is-desktop .template-preview-widget__browser {
    display: flex;
}

.template-preview-widget__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #cbd5e1;
}

.template-preview-widget__stage.is-mobile .template-preview-widget__frame {
    aspect-ratio: 9 / 19.5;
    min-height: min(36rem, 80vh);
    max-height: min(82vh, 740px);
}

.template-preview-widget__stage.is-desktop .template-preview-widget__shell {
    max-width: min(100%, 56rem);
}

.template-preview-widget__stage.is-desktop .template-preview-widget__frame {
    aspect-ratio: 16 / 10;
    min-height: min(24rem, 52vh);
    max-height: min(72vh, 600px);
}

.template-preview-widget__iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: inherit;
    max-height: 100%;
    border: 0;
    background: #fff;
    pointer-events: auto;
    touch-action: manipulation;
    overflow: hidden;
    vertical-align: top;
}

.template-preview-widget__stage.is-mobile .template-preview-widget__frame {
    padding-bottom: 2px;
}

/* Satu scroll: hanya di dalam dokumen iframe, bukan di frame luar */
.template-preview-widget__stage,
.template-preview-widget__shell,
.template-preview-widget__frame {
    overflow: hidden !important;
}
