/* Fonts loaded via layouts/public.blade.php (Barlow 400-600, Barlow Semi Condensed 600, Barlow Condensed 600-800) */
@font-face {
    font-family: "Barlow Fallback";
    src: local("Arial"), local("Liberation Sans"), local("Helvetica Neue");
    font-weight: 400 600;
    size-adjust: 94.15%;
    ascent-override: 106.21%;
    descent-override: 21.24%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "Barlow Semi Condensed Fallback";
    src: local("Arial"), local("Liberation Sans"), local("Helvetica Neue");
    font-weight: 600;
    size-adjust: 82.21%;
    ascent-override: 121.64%;
    descent-override: 24.33%;
    line-gap-override: 0%;
}
@font-face {
    font-family: "Barlow Condensed Fallback";
    src: local("Arial"), local("Liberation Sans"), local("Helvetica Neue");
    font-weight: 600 800;
    size-adjust: 76%;
    ascent-override: 131.58%;
    descent-override: 26.32%;
    line-gap-override: 0%;
}

:root {
    --font-display: "Barlow Condensed", "Barlow Condensed Fallback", "Arial Narrow", "Roboto Condensed", sans-serif;
    --font-heading: "Barlow Semi Condensed", "Barlow Semi Condensed Fallback", "Barlow", "Barlow Fallback", "Arial Narrow", sans-serif;
    --font-body: "Barlow", "Barlow Fallback", "Arial Nova", system-ui, sans-serif;

    /* Single Source of Truth Design Tokens */
    --page: #fdf6fd;
    --tint-1: #faeffa;
    --tint-2: #f7e3f7;
    --sky: #f1cdf1;
    --cyan: #e9b2e9;
    --blue: #811e81;
    --blue-mid: #7c1d7c;
    --blue-deep: #801e80;
    --navy: #471147;
    --navy-deep: #350c35;
    --amber: #ffb020;

    --ink: #1d1d1f;
    --body-text: #3f4a5e;
    --heading: #601660;
    --muted-text: #3f4a5e;
    --hairline: rgba(0, 0, 0, 0.08);
    --hairline-strong: rgba(0, 0, 0, 0.12);
    --green-done: #1f9d55;
    --danger: #d93025;
    --secondary-bg: #ececf0;

    --bg-alt: var(--page);
    --bg-white: #ffffff;

    --max-w: 1120px;
    --pad-x: 20px;
    --section-y: 72px;

    --radius-card: 28px;
    --radius-panel: 32px;
    --radius-sheet: 48px;
    --radius-pill: 999px;
    --radius-chip: 14px;
    --radius-input: 16px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -12px rgba(86, 20, 86, 0.12);
    --shadow-lg: 0 4px 10px rgba(0, 0, 0, 0.05), 0 20px 40px -12px rgba(86, 20, 86, 0.18);
    --shadow-hover: 0 4px 10px rgba(0, 0, 0, 0.05), 0 20px 40px -12px rgba(86, 20, 86, 0.18);
}

@media (min-width: 1024px) {
    :root {
        --section-y: 120px;
        --pad-x: 24px;
    }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    color: var(--ink);
    background: var(--bg-alt);
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-kerning: normal;
}
body.is-mobile-menu-open {
    overflow: hidden;
}
@media (min-width: 1024px) {
    body { font-size: 18px; }
    body.is-mobile-menu-open { overflow: auto; }
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button, summary, input, select, textarea { font: inherit; }
input, button, select, textarea { font-family: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4, p, a, dd, td, th { overflow-wrap: anywhere; }
b, strong { font-weight: 600; }

h1 { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; margin-bottom: 16px; color: #601660; }
h2 { font-family: var(--font-display); font-size: clamp(2.25rem, 5.2vw, 4rem); font-weight: 700; line-height: 1; letter-spacing: 0.01em; text-transform: uppercase; margin-bottom: 16px; color: #601660; }
h3 { font-family: var(--font-heading); font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.15; letter-spacing: 0; margin-bottom: 8px; color: #601660; }
h4 { font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: 0; margin-bottom: 6px; color: #601660; }
p { color: #3f4a5e; }

a:focus-visible, summary:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid #811e81;
    outline-offset: 2px;
}
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

.eyebrow { display: inline-flex; align-items: center; gap: 6px; color: #51607a; font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; margin-bottom: 10px; }
.lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.5; color: #3f4a5e; max-width: 56ch; }
.section { max-width: var(--max-w); margin: auto; padding: var(--section-y) var(--pad-x); }
.section-tight { max-width: var(--max-w); margin: auto; padding: 32px var(--pad-x); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 36px; }
.section-heading h2 { margin-bottom: 4px; }
.section-heading > p { max-width: 460px; margin: 0; font-size: 17px; }
.section-footnote { margin: 20px 0 0; font-size: 14px; font-weight: 500; color: #51607a; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 1200; background: #ffffff; color: #601660; padding: 12px 20px; border-radius: 999px; border: 2px solid #811e81; font-weight: 600; box-shadow: var(--shadow-md); }
.skip:focus { top: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

/* ============================================================
   APPLE FLOATING PILL HEADER (Radius on all sides)
============================================================ */
.header-scroll-sentinel {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 16px;
    pointer-events: none;
}

.public-header-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 20px 0;
    pointer-events: none;
    background: transparent;
}

.public-header {
    pointer-events: auto;
    position: relative;
    isolation: isolate;
    max-width: 1120px;
    margin: 0 auto;
    padding: 8px 13px 8px 19px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-radius: 9999px; /* Radius on every single side */
}
.public-header::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: -1;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 24px -4px rgba(86, 20, 86, 0.07), 0 1px 2px rgba(0, 0, 0, 0.03);
    opacity: 1;
}
.public-header:not(.is-ready) *,
.public-header:not(.is-ready) *::before {
    transition: none !important;
}
.public-header.is-ready::before {
    transition: opacity 250ms cubic-bezier(0.22, 1, 0.36, 1);
}
.public-header.is-top::before {
    opacity: 0;
}
.public-header.is-top.is-menu-open::before {
    opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
    .public-header.is-ready::before {
        transition: none;
    }
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 1;
    min-width: 0;
    min-height: 44px;
}
.brand img {
    width: 32px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}
.brand-name {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.15;
    color: #601660;
    letter-spacing: 0;
}
.brand-sub {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: #51607a;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Desktop Navigation */
.public-nav {
    display: flex;
    align-items: center;
    gap: 3px;
}

.nav-pill-link,
.nav-pill-btn {
    appearance: none;
    background: transparent;
    border: none;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: #3f4a5e;
    padding: 7px 13px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}

.nav-pill-link:hover,
.nav-pill-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #1d1d1f;
}

.nav-pill-link.is-active,
.nav-pill-btn.is-active {
    background: #faeffa;
    color: #801e80;
    font-weight: 600;
}

.public-header.is-top:not(.is-menu-open) .brand-sub {
    color: #601660;
}
.public-header.is-top:not(.is-menu-open) .nav-pill-link,
.public-header.is-top:not(.is-menu-open) .nav-pill-btn {
    color: #601660;
}
.public-header.is-top:not(.is-menu-open) .nav-pill-link:hover,
.public-header.is-top:not(.is-menu-open) .nav-pill-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #601660;
}
.public-header.is-top:not(.is-menu-open) .nav-pill-link.is-active,
.public-header.is-top:not(.is-menu-open) .nav-pill-btn.is-active {
    background: rgba(255, 255, 255, 0.72);
    color: #601660;
}
.public-header.is-top:not(.is-menu-open) .dropdown-chevron {
    opacity: 1;
}

.dropdown-chevron {
    transition: transform .2s ease;
    opacity: 0.65;
}
.nav-dropdown:hover .dropdown-chevron,
.nav-dropdown.is-open .dropdown-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Dropdown Menu Cards */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-card {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    transform: translateY(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    width: 330px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 22px; /* Radius on all sides */
    padding: 8px;
    box-shadow: 0 18px 40px -10px rgba(86, 20, 86, 0.16), 0 2px 6px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 3px;
    transition: all .2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1200;
}

.nav-dropdown-card--right {
    left: auto;
    right: 0;
}

/* Invisible hover bridge */
.nav-dropdown-card::before {
    content: '';
    position: absolute;
    top: -12px;
    left: 0;
    right: 0;
    height: 12px;
}

.nav-dropdown:hover .nav-dropdown-card,
.nav-dropdown:focus-within .nav-dropdown-card,
.nav-dropdown.is-open .nav-dropdown-card {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: #1d1d1f;
    transition: background .15s ease;
}
.dropdown-item:hover {
    background: var(--page);
}
.dropdown-item.is-active {
    background: #faeffa;
}
.dropdown-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #faeffa;
    color: #811e81;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .15s ease, color .15s ease;
}
.dropdown-item:hover .dropdown-icon,
.dropdown-item.is-active .dropdown-icon {
    background: #811e81;
    color: white;
}
.dropdown-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.dropdown-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: #601660;
    line-height: 1.2;
}
.dropdown-sub {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    color: #51607a;
    line-height: 1.4;
    margin-top: 2px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-login-btn {
    background: #811e81;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.005em;
    padding: 8px 18px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border-radius: 9999px;
    text-decoration: none;
    box-shadow: 0 4px 12px -2px rgba(129, 30, 129, 0.3);
    transition: all .15s ease;
    white-space: nowrap;
}
.nav-login-btn:hover {
    background: #7d1d7d;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -2px rgba(129, 30, 129, 0.4);
}

.public-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #1d1d1f;
    cursor: pointer;
    transition: background .15s ease;
}
.public-menu-toggle .toggle-icon-close {
    display: none;
}
.public-menu-toggle[aria-expanded="true"] .toggle-icon-bars {
    display: none;
}
.public-menu-toggle[aria-expanded="true"] .toggle-icon-close {
    display: block;
}
.public-menu-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
}
.public-header.is-top:not(.is-menu-open) .public-menu-toggle {
    background: transparent;
    border-color: transparent;
    color: #601660;
}
.public-header.is-top:not(.is-menu-open) .public-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.5);
    color: #601660;
}

/* Mobile Drawer (Hidden on Desktop) */
.public-mobile-sheet {
    display: none;
}

/* ============================================================
   RESPONSIVE HEADER (Tablet & Mobile ≤ 1024px)
============================================================ */
@media (max-width: 1024px) {
    .public-header-wrapper {
        padding: calc(10px + env(safe-area-inset-top, 0px)) 14px 0;
    }
    .public-header {
        padding: 7px 9px 7px 15px;
    }
    .public-nav {
        display: none;
    }
    .public-menu-toggle {
        display: inline-flex;
    }

    .public-mobile-sheet {
        display: flex;
        flex-direction: column;
        pointer-events: auto;
        max-width: 1120px;
        margin: 8px auto 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 28px;
        box-shadow: 0 16px 40px -10px rgba(86, 20, 86, 0.16), 0 2px 6px rgba(0, 0, 0, 0.04);
        padding: 18px;
        height: calc(100dvh - 82px - env(safe-area-inset-top, 0px));
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        animation: sheetSlideDown .2s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .public-mobile-sheet[hidden] {
        display: none !important;
    }

    .mobile-sheet-inner {
        display: flex;
        flex-direction: column;
        gap: 12px;
        flex: 1 1 auto;
    }

    .mobile-home-btn {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        min-height: 48px;
        border-radius: 16px;
        background: var(--page);
        color: #1d1d1f;
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.005em;
        text-decoration: none;
        transition: background .15s ease;
    }
    .mobile-home-btn.is-active {
        background: #faeffa;
        color: #801e80;
    }

    .mobile-accordion {
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-radius: 20px;
        background: #ffffff;
        overflow: hidden;
    }
    .mobile-accordion-trigger {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 12px 16px;
        min-height: 50px;
        background: transparent;
        border: none;
        color: #601660;
        font-family: var(--font-heading);
        font-size: 18px;
        font-weight: 600;
        text-align: left;
    }
    .mobile-accordion-trigger.is-active {
        color: #811e81;
        background: rgba(129, 30, 129, 0.04);
    }
    .mobile-accordion-chevron {
        color: #51607a;
        flex-shrink: 0;
        transition: transform 200ms ease;
    }
    .mobile-accordion-trigger[aria-expanded="true"] .mobile-accordion-chevron {
        transform: rotate(180deg);
        color: #811e81;
    }
    .mobile-accordion-panel {
        padding: 4px 10px 10px;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }
    .mobile-group-links {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    .mobile-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 12px;
        min-height: 46px;
        border-radius: 14px;
        text-decoration: none;
        color: #1d1d1f;
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 500;
        letter-spacing: 0.005em;
        transition: background .15s ease;
    }
    .mobile-link:hover {
        background: var(--page);
    }
    .mobile-link.is-active {
        background: #faeffa;
        color: #801e80;
        font-weight: 600;
    }
    .mobile-link-icon {
        width: 34px;
        height: 34px;
        border-radius: 10px;
        background: #faeffa;
        color: #811e81;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .mobile-link.is-active .mobile-link-icon {
        background: #811e81;
        color: #ffffff;
    }

    .mobile-sheet-footer {
        margin-top: auto;
        padding-top: 12px;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
    .mobile-login-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        padding: 12px 18px;
        min-height: 48px;
        border-radius: 9999px;
        background: #811e81;
        color: #ffffff;
        font-family: var(--font-body);
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.005em;
        text-decoration: none;
        box-shadow: 0 4px 14px -2px rgba(129, 30, 129, 0.35);
    }
}

@media (max-width: 640px) {
    .header-actions .nav-login-btn {
        display: none;
    }
}

@keyframes sheetSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   COMPACT PAGE HERO & UNIFIED INTERIOR COMPONENTS
============================================================ */
.apple-page-hero,
.page-hero {
    position: relative;
    overflow: hidden;
    padding: calc(72px + env(safe-area-inset-top, 0px)) 0 18px;
    min-height: 200px;
    background: linear-gradient(180deg, var(--tint-2) 0%, var(--tint-1) 52%, var(--page) 100%);
    color: var(--ink);
    border-bottom: none;
}
.apple-page-hero--to-white {
    background: linear-gradient(180deg, var(--tint-2) 0%, var(--tint-1) 48%, #ffffff 100%);
}
.apple-page-hero::before,
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 46% 68% at 90% 8%, rgba(233, 178, 233, 0.36) 0%, transparent 66%),
        radial-gradient(ellipse 40% 62% at 12% 18%, rgba(129, 30, 129, 0.22) 0%, transparent 64%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}
.apple-page-hero-inner,
.page-hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}
.apple-page-hero h1,
.page-hero h1 {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 0.98;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--heading);
    margin: 0;
}
.apple-page-hero h1::after,
.page-hero h1::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: var(--amber);
    margin-top: 10px;
}
.apple-page-hero p,
.page-hero p {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.25vw, 1.0625rem);
    line-height: 1.42;
    color: var(--body-text);
    max-width: 72ch;
    margin: 0;
}
.apple-page-hero .eyebrow,
.page-hero .eyebrow {
    color: var(--blue-deep);
    font-weight: 600;
    margin-bottom: 0;
}
.apple-page-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 2px;
}
@media (min-width: 1024px) {
    .apple-page-hero,
    .page-hero {
        padding: calc(88px + env(safe-area-inset-top, 0px)) 0 28px;
        min-height: 280px;
    }
    .apple-page-hero-inner,
    .page-hero-inner {
        padding: 0 24px;
        gap: 10px;
    }
}

/* Unified Pill Buttons & Links */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    background: #811e81;
    color: #ffffff;
    border: 1px solid transparent;
    padding: 12px 24px;
    min-height: 52px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.005em;
    line-height: 1.2;
    box-shadow: 0 4px 14px rgba(129, 30, 129, 0.28);
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}
.button:hover {
    background: #7d1d7d;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(129, 30, 129, 0.34);
}
.button-secondary {
    background: #ececf0;
    color: #1d1d1f;
    border: 1px solid transparent;
    box-shadow: none;
}
.button-secondary:hover {
    background: #faeffa;
    color: #801e80;
    border-color: rgba(129, 30, 129, 0.24);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}
.text-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: #811e81;
    min-height: 44px;
    transition: color 180ms ease-out, gap 180ms ease-out;
}
.text-link:hover {
    color: #7d1d7d;
    gap: 8px;
}

/* Grids & Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card-surface {
    min-width: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -12px rgba(86, 20, 86, 0.12);
    transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}
.card-surface:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 20px 40px -12px rgba(86, 20, 86, 0.18);
    transform: translateY(-2px);
}
.card-surface h3 { color: #601660; }

.stat-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -12px rgba(86, 20, 86, 0.12);
    transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}
.stat-card:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 20px 40px -12px rgba(86, 20, 86, 0.18);
    transform: translateY(-2px);
    border-color: rgba(129, 30, 129, 0.24);
}
.stat-card .stat-label { font-size: 14px; font-weight: 500; text-transform: none; letter-spacing: 0; color: #51607a; }
.stat-card .stat-value { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: 800; color: #801e80; line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat-card .stat-value--compact { font-size: clamp(24px, 2.3vw, 32px); }
.stat-card .stat-meta { font-size: 14px; color: #51607a; margin: 0; }

/* Single Blue-Family Progress & Chart Bars */
.progress-row { margin-bottom: 18px; }
.progress-row:last-child { margin-bottom: 0; }
.progress-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; margin-bottom: 8px; }
.progress-head strong { color: #1d1d1f; font-weight: 600; }
.progress-head span { color: #801e80; font-variant-numeric: tabular-nums; font-size: 15px; font-weight: 600; }
.progress-track { width: 100%; height: 10px; background: #ececf0; border-radius: 999px; overflow: hidden; }
.progress-fill { height: 100%; background: #811e81; border-radius: 999px; transition: width .4s ease; }
.progress-fill--sky { background: #c52ec5; }
.progress-fill--deep { background: #801e80; }
.progress-fill--tint { background: #f4daf4; }
.progress-fill--done { background: #1f9d55; }

/* Unified Badges (Blue Family + #1f9d55 strictly for 100%/completed status) */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    padding: 5px 12px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.005em;
    line-height: 1.25;
}
.badge-blue { background: #faeffa; color: #801e80; border: none; }
.badge-neutral { background: #ececf0; color: #3f4a5e; border: none; }
.badge-done {
    background: #ffffff;
    color: #1d1d1f;
    border: 1px solid rgba(31, 157, 85, 0.45);
}
.badge-done::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #1f9d55;
    flex-shrink: 0;
}
.badge-danger {
    background: #ffffff;
    color: #d93025;
    border: 1px solid rgba(217, 48, 37, 0.35);
}

/* Unified Tables with Sticky Header, Tabular Barlow Condensed Numbers & Scroll Edge Shadow */
.table-wrap {
    width: 100%;
    max-height: 540px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    background:
        linear-gradient(to right, #ffffff 30%, rgba(255, 255, 255, 0)) left center / 36px 100% no-repeat local,
        linear-gradient(to left, #ffffff 30%, rgba(255, 255, 255, 0)) right center / 36px 100% no-repeat local,
        radial-gradient(farthest-side at 0 50%, rgba(86, 20, 86, 0.12), transparent) left center / 14px 100% no-repeat scroll,
        radial-gradient(farthest-side at 100% 50%, rgba(86, 20, 86, 0.12), transparent) right center / 14px 100% no-repeat scroll #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -12px rgba(86, 20, 86, 0.12);
}
.civic-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 16px; font-variant-numeric: tabular-nums; }
.civic-table th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--tint-1);
    color: #601660;
    font-family: var(--font-body);
    font-weight: 600;
    padding: 15px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
}
.civic-table td { padding: 15px 18px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); color: #1d1d1f; vertical-align: middle; }
.civic-table tbody tr:hover td { background: rgba(129, 30, 129, 0.03); }
.civic-table tr:last-child td { border-bottom: none; }
.civic-table .num {
    text-align: right;
    white-space: nowrap;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    color: #801e80;
    font-variant-numeric: tabular-nums;
}

/* Unified Forms & Alerts */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 15px; font-weight: 600; color: #601660; line-height: 1.3; }
.form-help { font-size: 14px; color: #51607a; margin: 0; line-height: 1.45; }
.form-error { font-size: 14px; font-weight: 500; color: #d93025; margin: 2px 0 0; }
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 16px;
    min-height: 52px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    background: #ffffff;
    color: #1d1d1f;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.form-input::placeholder, .form-textarea::placeholder {
    color: #51607a;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: #811e81;
    box-shadow: 0 0 0 4px rgba(129, 30, 129, 0.25);
    outline: none;
}
.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid {
    border-color: #d93025;
}
.form-input.is-invalid:focus, .form-select.is-invalid:focus, .form-textarea.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(217, 48, 37, 0.2);
}
.form-textarea { min-height: 120px; resize: vertical; }
input[type="file"].form-input {
    padding: 8px 12px;
}
input[type="file"].form-input::file-selector-button {
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    color: #601660;
    background: var(--tint-1);
    border: 1px solid rgba(128, 30, 128, 0.2);
    border-radius: 999px;
    padding: 6px 14px;
    margin-right: 12px;
    cursor: pointer;
    transition: background-color 150ms ease, border-color 150ms ease;
}
input[type="file"].form-input::file-selector-button:hover {
    background: var(--tint-2);
    border-color: rgba(129, 30, 129, 0.35);
}
.form-fieldset {
    background: var(--page);
    border: 1px solid rgba(128, 30, 128, 0.12);
    border-radius: 24px;
    padding: 20px;
    margin: 0 0 20px;
}
.surface-tint .form-fieldset {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}
.form-fieldset::after {
    content: "";
    display: table;
    clear: both;
}
.form-fieldset-title {
    float: left;
    width: 100%;
    padding: 0;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #601660;
    margin: 0 0 14px;
}
.form-fieldset > .form-fieldset-title + * {
    clear: both;
}
.form-fieldset > .form-group:last-child,
.form-fieldset > .form-grid > .form-group:last-child {
    margin-bottom: 0;
}
.alert-box {
    padding: 18px 22px;
    border-radius: 20px;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.55;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #ffffff;
    color: #1d1d1f;
    box-shadow: var(--shadow-sm);
}
.alert-success {
    background: #faeffa;
    border-color: rgba(129, 30, 129, 0.24);
    color: #801e80;
}
.alert-success--done {
    background: #ffffff;
    border: 1px solid rgba(31, 157, 85, 0.45);
    border-left: 4px solid #1f9d55;
    color: #1d1d1f;
}
.alert-error {
    background: #ffffff;
    border: 1px solid rgba(217, 48, 37, 0.35);
    border-left: 4px solid #d93025;
    color: #d93025;
}
.alert-warning {
    background: var(--tint-1);
    border: 1px solid rgba(128, 30, 128, 0.22);
    border-left: 4px solid var(--blue-mid);
    color: #601660;
}

/* Spatial Map Frame */
.map-frame { width: 100%; height: 420px; border-radius: 28px; border: 1px solid rgba(0, 0, 0, 0.08); overflow: hidden; background: #f4daf4; z-index: 1; box-shadow: var(--shadow-md); }
@media (min-width: 1024px) {
    .map-frame { height: 480px; border-radius: 40px; }
}

/* ============================================================
   UNIFIED SKY-BLUE AMBIENT STAGE (HERO + SEARCH + STATS)
============================================================ */
.apple-hero-stage-group {
    position: relative;
    width: 100%;
    overflow-x: clip;
    overflow-y: visible;
    padding-top: 72px; /* Clears fixed floating pill header on mobile/tablet */
    background: linear-gradient(180deg, #dbe5ea 0%, #dbe5ea 220px, #f5e3f5 390px, #faedfa 560px, var(--page) 700px, var(--page) 100%);
}
.apple-stage-ambient {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.apple-ambient-orb {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
}
.apple-ambient-orb--hero-right {
    top: -48px;
    right: -8%;
    width: min(74vw, 940px);
    height: 440px;
    background: radial-gradient(closest-side, rgba(233, 178, 233, 0.72), rgba(173, 41, 173, 0.36) 45%, rgba(129, 30, 129, 0.08) 72%, transparent 100%);
    filter: blur(40px);
}
.apple-ambient-orb--stats-left {
    top: 160px;
    left: -8%;
    width: min(68vw, 840px);
    height: 360px;
    background: radial-gradient(closest-side, rgba(129, 30, 129, 0.28), rgba(173, 41, 173, 0.14) 52%, transparent 100%);
    filter: blur(40px);
}
.apple-ambient-orb--stats-right {
    top: 170px;
    right: -8%;
    width: min(72vw, 880px);
    height: 380px;
    background: radial-gradient(closest-side, rgba(173, 41, 173, 0.32), rgba(233, 178, 233, 0.16) 50%, rgba(129, 30, 129, 0.05) 74%, transparent 100%);
    filter: blur(40px);
}
.apple-ambient-orb--search-center {
    top: 230px;
    left: 50%;
    transform: translateX(-50%);
    width: min(90vw, 1000px);
    height: 290px;
    background: radial-gradient(closest-side, rgba(173, 41, 173, 0.24), rgba(129, 30, 129, 0.08) 55%, transparent 100%);
    filter: blur(40px);
}

/* ============================================================
   HERO BANNER PEMERINTAH DESA CIBETOK (#COCOK) - HTML/CSS CANVAS
============================================================ */
.hero-cibetok-section {
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 0;
    margin: 0;
    overflow-x: clip;
    overflow-y: visible;
    border-bottom: none;
    width: 100%;
}
.hero-bottom-fade {
    display: none;
}
.hero-cibetok-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    overflow: visible;
}

/* Kanvas 16:9 Murni HTML & CSS - Barlow Condensed (Zoom-safe, Seamless Edge Glow) */
.hero-cibetok-canvas {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    overflow: visible;
    background-color: transparent;
    color: #281028;
    border-radius: 0;
    box-shadow: none;
    container-type: inline-size;
    --u: calc(100cqw / 1920);
    font-family: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    letter-spacing: normal;
    user-select: none;
}
@supports not (container-type: inline-size) {
    .hero-cibetok-canvas {
        --u: calc(min(100vw, 960px) / 1920);
    }
}

/* Background gradasi melengkung (6 layer) */
.hero-cibetok-canvas .hero-glow-1 {
    position: absolute;
    left: calc(var(--u) * 650);
    top: calc(var(--u) * 80);
    height: calc(var(--u) * 700);
    width: calc(var(--u) * 900);
    border-radius: 9999px;
    background: radial-gradient(closest-side, rgba(208, 55, 208, 0.95), rgba(208, 55, 208, 0.45) 50%, transparent 100%);
    filter: blur(clamp(28px, calc(var(--u) * 64), 44px));
    pointer-events: none;
}
.hero-cibetok-canvas .hero-glow-2 {
    position: absolute;
    left: calc(var(--u) * -250);
    top: calc(var(--u) * 430);
    height: calc(var(--u) * 520);
    width: calc(var(--u) * 1000);
    transform: rotate(8deg);
    border-radius: 9999px;
    background: radial-gradient(closest-side, rgba(181, 42, 181, 0.7), transparent 100%);
    filter: blur(clamp(28px, calc(var(--u) * 64), 44px));
    pointer-events: none;
}
.hero-cibetok-canvas .hero-glow-3 {
    position: absolute;
    left: calc(var(--u) * -300);
    top: calc(var(--u) * 680);
    height: calc(var(--u) * 620);
    width: calc(var(--u) * 1400);
    transform: rotate(-12deg);
    border-radius: 9999px;
    background: radial-gradient(closest-side, #811e81, rgba(129, 30, 129, 0.65) 45%, transparent 100%);
    filter: blur(clamp(28px, calc(var(--u) * 64), 42px));
    pointer-events: none;
}
.hero-cibetok-canvas .hero-glow-4 {
    position: absolute;
    left: calc(var(--u) * 500);
    top: calc(var(--u) * 860);
    height: calc(var(--u) * 440);
    width: calc(var(--u) * 900);
    border-radius: 9999px;
    background: radial-gradient(closest-side, rgba(129, 30, 129, 0.8), rgba(129, 30, 129, 0.35) 52%, transparent 100%);
    filter: blur(clamp(28px, calc(var(--u) * 64), 42px));
    pointer-events: none;
}
.hero-cibetok-canvas .hero-glow-5 {
    position: absolute;
    left: calc(var(--u) * 1000);
    top: calc(var(--u) * -40);
    height: calc(var(--u) * 1400);
    width: calc(var(--u) * 1200);
    transform: rotate(18deg);
    border-radius: 9999px;
    background: radial-gradient(closest-side at 70% 45%, #e9b2e9, #ad29ad 35%, rgba(129, 30, 129, 0.72) 65%, transparent 100%);
    filter: blur(clamp(28px, calc(var(--u) * 64), 42px));
    pointer-events: none;
}
.hero-cibetok-canvas .hero-glow-6 {
    position: absolute;
    left: calc(var(--u) * 1150);
    top: calc(var(--u) * 760);
    height: calc(var(--u) * 540);
    width: calc(var(--u) * 1000);
    transform: rotate(-6deg);
    border-radius: 9999px;
    background: radial-gradient(closest-side, rgba(129, 30, 129, 0.9), rgba(129, 30, 129, 0.4) 52%, transparent 100%);
    filter: blur(clamp(28px, calc(var(--u) * 64), 42px));
    pointer-events: none;
}

/* Tipografi & Garis */
.hero-cibetok-canvas .hero-txt-pemerintah {
    position: absolute;
    left: calc(var(--u) * 188);
    top: calc(var(--u) * 96);
    white-space: nowrap;
    font-size: calc(var(--u) * 88);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: .08em;
    color: #7a1d7a;
    margin: 0;
    z-index: 2;
}
.hero-cibetok-canvas .hero-line-top {
    position: absolute;
    left: calc(var(--u) * 892);
    top: calc(var(--u) * 142);
    height: calc(var(--u) * 3);
    width: calc(var(--u) * 200);
    background-color: #781c78;
    z-index: 2;
}
.hero-cibetok-canvas .hero-txt-cibetok {
    position: absolute;
    left: calc(var(--u) * 150);
    top: calc(var(--u) * 112);
    white-space: nowrap;
    font-size: calc(var(--u) * 500);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: .01em;
    color: #7a1d7a;
    margin: 0;
    z-index: 2;
}
.hero-cibetok-canvas .hero-line-bot {
    position: absolute;
    left: calc(var(--u) * 1235);
    top: calc(var(--u) * 644);
    height: calc(var(--u) * 3);
    width: calc(var(--u) * 212);
    background-color: #781c78;
    z-index: 2;
}
.hero-cibetok-canvas .hero-txt-cocok {
    position: absolute;
    left: calc(var(--u) * 1470);
    top: calc(var(--u) * 606);
    white-space: nowrap;
    font-size: calc(var(--u) * 78);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: .03em;
    color: #7a1d7a;
    margin: 0;
    z-index: 2;
}

/* Foto Kepala Desa (PNG tanpa background menimpa huruf judul, memudar halus di tepi bawah hero) */
.hero-cibetok-canvas .hero-foto-kades {
    position: absolute;
    left: calc(var(--u) * 570);
    top: calc(var(--u) * 205);
    height: calc(var(--u) * 875);
    width: calc(var(--u) * 750);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    filter: drop-shadow(0 10px 20px rgba(81, 19, 81, 0.24));
    -webkit-mask-image: linear-gradient(to bottom, #000000 calc(100% - 120px), transparent);
    mask-image: linear-gradient(to bottom, #000000 calc(100% - 120px), transparent);
    z-index: 5;
    pointer-events: none;
}
.hero-cibetok-canvas .hero-foto-kades img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: bottom;
    display: block;
}

/* Deskripsi Kiri & Kanan */
.hero-cibetok-canvas .hero-desc-left {
    position: absolute;
    left: calc(var(--u) * 75);
    top: calc(var(--u) * 622);
    width: calc(var(--u) * 600);
    font-size: calc(var(--u) * 36);
    font-weight: 400;
    line-height: 1.17;
    color: #281028;
    margin: 0;
    z-index: 6;
}
.hero-cibetok-canvas .hero-desc-right {
    position: absolute;
    right: calc(var(--u) * 35);
    top: calc(var(--u) * 695);
    width: calc(var(--u) * 640);
    text-align: right;
    font-size: calc(var(--u) * 36);
    font-weight: 400;
    line-height: 1.17;
    color: #281028;
    margin: 0;
    z-index: 6;
}

@media (max-width: 1023px) {
    .hero-cibetok-canvas {
        aspect-ratio: auto;
        height: clamp(450px, 48dvh, 520px);
    }
    .hero-cibetok-canvas .hero-glow-3 {
        top: auto;
        bottom: -95px;
        height: 290px;
        filter: blur(40px);
    }
    .hero-cibetok-canvas .hero-glow-4 {
        top: auto;
        bottom: -115px;
        height: 260px;
        filter: blur(40px);
    }
    .hero-cibetok-canvas .hero-glow-5 {
        top: -20px;
        height: calc(100% + 165px);
        filter: blur(40px);
    }
    .hero-cibetok-canvas .hero-glow-6 {
        top: auto;
        bottom: -100px;
        height: 270px;
        filter: blur(40px);
    }
    .hero-cibetok-canvas .hero-foto-kades {
        left: 49.2%;
        transform: translateX(-50%);
        top: calc(var(--u) * 205);
        bottom: 0;
        height: calc(100% - var(--u) * 205);
        width: auto;
        padding-inline: 44px;
        box-sizing: content-box;
    }
    .hero-cibetok-canvas .hero-foto-kades img {
        width: auto;
        height: 100%;
        max-width: none;
    }
}

@media (max-width: 640px) {
    .apple-ambient-orb--hero-right {
        top: -36px;
        height: 360px;
    }
    .apple-ambient-orb--stats-left {
        top: 110px;
        height: 280px;
    }
    .apple-ambient-orb--stats-right {
        top: 120px;
        height: 300px;
    }
    .apple-ambient-orb--search-center {
        top: 175px;
        height: 230px;
    }
    .hero-cibetok-canvas {
        max-width: none;
        height: clamp(304px, 42dvh, 376px);
    }
    .hero-cibetok-canvas .hero-foto-kades {
        left: 50.6%;
        top: calc(var(--u) * 240);
        height: calc(100% - var(--u) * 240);
        -webkit-mask-image: linear-gradient(to bottom, #000000 calc(100% - 76px), transparent);
        mask-image: linear-gradient(to bottom, #000000 calc(100% - 76px), transparent);
    }
    .hero-cibetok-canvas .hero-desc-left {
        left: 12px;
        top: calc(var(--u) * 650);
        width: calc(50% - clamp(66px, 19vw, 88px));
        font-size: clamp(8.5px, 2.25vw, 10px);
        line-height: 1.25;
    }
    .hero-cibetok-canvas .hero-desc-right {
        right: 12px;
        top: calc(var(--u) * 705);
        width: calc(50% - clamp(66px, 19vw, 88px));
        font-size: clamp(8.5px, 2.25vw, 10px);
        line-height: 1.25;
    }
}

/* Legacy fallback wrappers converged to unified palette */
.aparatur-section { background: var(--page); }
.aparatur-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.aparatur-card {
    margin: 0;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .2s ease, box-shadow .2s ease;
}
.aparatur-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.aparatur-portrait { position: relative; aspect-ratio: 4 / 5; background: #faeffa; overflow: hidden; }
.aparatur-avatar { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.aparatur-avatar-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: #51607a; }
.aparatur-mark { position: absolute; left: 14px; bottom: 14px; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, 0.94); padding: 4px 12px; border-radius: 999px; color: #601660; }
.aparatur-copy { padding: 18px 20px; border-top: 1px solid rgba(0, 0, 0, 0.06); }
.aparatur-role { color: #811e81; font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.aparatur-name { font-family: var(--font-heading); font-size: 20px; font-weight: 600; line-height: 1.2; margin: 0; color: #601660; }

/* Service Accordion Grid */
.service-list { display: grid; gap: 14px; }
.service-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.service-item:hover { border-color: rgba(129, 30, 129, 0.3); }
.service-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    min-height: 72px;
    background: transparent;
    border: none;
    text-align: left;
}
.service-trigger:hover { background: rgba(129, 30, 129, 0.03); }
.service-index {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: #801e80;
    background: #faeffa;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.service-title { flex: 1; font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: #601660; }
.service-action { font-size: 15px; font-weight: 600; color: #811e81; }
.service-panel { padding: 0 24px 24px; border-top: 1px solid rgba(0, 0, 0, 0.08); }
.service-panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding-top: 18px; }
.service-panel-grid h3 { font-size: 16px; font-family: var(--font-body); font-weight: 600; color: #601660; margin-bottom: 8px; }
.preserve { white-space: pre-line; overflow-wrap: anywhere; font-size: 16px; line-height: 1.65; color: #3f4a5e; }

/* Pagination */
.pagination,
.apple-pagination,
.apple-pagination-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 32px;
    padding: 0;
    list-style: none;
}
.apple-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1d1d1f;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
a.apple-page-link:hover {
    background: #faeffa;
    color: #811e81;
    border-color: rgba(129, 30, 129, 0.28);
}
.apple-page-link.is-active {
    background: #811e81;
    color: #ffffff;
    border-color: #811e81;
}
.apple-page-link.is-disabled {
    background: var(--page);
    color: #51607a;
    opacity: 0.7;
    cursor: default;
    box-shadow: none;
}
.apple-page-status {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 500;
    color: #51607a;
}

/* Mobile App Banner (legacy wrapper fallback) */
.app-section { background: var(--page); color: var(--ink); }
.app-section h2 { color: #601660; }
.app-section .eyebrow { color: #801e80; }
.app-section p { color: #3f4a5e; }
.app-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.app-benefits { list-style: none; margin: 24px 0; padding: 0; }
.app-benefits li { display: flex; align-items: baseline; gap: 12px; margin: 10px 0; font-size: 16px; color: #3f4a5e; }
.app-benefits li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #811e81; flex-shrink: 0; }
.app-download-card { padding: 32px; border: 1px solid rgba(0, 0, 0, 0.08); border-radius: 32px; background: #ffffff; color: #1d1d1f; box-shadow: var(--shadow-md); }
.app-download-card strong { color: #601660; }
.app-download-card p { color: #3f4a5e; }
.app-identity { display: flex; align-items: center; gap: 14px; padding-bottom: 20px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.app-identity > div { flex: 1; min-width: 0; }
.app-identity strong { display: block; font-family: var(--font-heading); font-size: 22px; }
.app-identity div span { display: block; font-size: 14px; color: #51607a; }
.platform-tag { background: #faeffa; color: #801e80; border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }
.release-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.release-meta dt { color: #51607a; font-size: 14px; }
.release-meta dd { margin: 4px 0 0; font-size: 16px; font-weight: 600; color: #1d1d1f; }
.download-button { width: 100%; }
.download-help { font-size: 14px; line-height: 1.6; margin: 14px 0 0; }
.device-notice { margin-top: 18px; background: var(--tint-1); padding: 16px; border: 1px solid rgba(128, 30, 128, 0.12); border-radius: 20px; }

/* Interactive Digital Assistant */
.assistant-widget { position: fixed; right: 24px; bottom: 24px; z-index: 50; }
.assistant-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #601660;
    border: 1.5px solid rgba(233, 178, 233, 0.45);
    border-radius: 999px;
    padding: 0 20px;
    min-height: 48px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.005em;
    box-shadow: 0 4px 14px rgba(53, 12, 53, 0.28), 0 12px 32px -10px rgba(129, 30, 129, 0.35);
    transition: transform 200ms ease-out, box-shadow 200ms ease-out, background-color 200ms ease-out, color 200ms ease-out;
}
.assistant-toggle svg {
    color: #811e81;
    flex-shrink: 0;
}
.assistant-toggle:hover {
    background: #ffffff;
    color: #811e81;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06), 0 18px 36px -12px rgba(86, 20, 86, 0.22);
}
.assistant-panel {
    position: absolute;
    right: 0;
    bottom: 64px;
    width: min(390px, calc(100vw - 32px));
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    box-shadow: 0 20px 50px -16px rgba(86, 20, 86, 0.22), 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.assistant-head {
    background: var(--tint-1);
    color: #601660;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.assistant-head strong { display: block; font-family: var(--font-heading); font-size: 18px; font-weight: 600; color: #601660; }
.assistant-head small { display: block; color: #51607a; font-size: 14px; font-weight: 500; }
.assistant-close {
    background: #ececf0;
    color: #1d1d1f;
    border: none;
    border-radius: 999px;
    min-width: 44px;
    min-height: 44px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.assistant-close:hover {
    background: #faeffa;
    color: #811e81;
}
.assistant-body { padding: 18px; max-height: 60dvh; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; }
.assistant-msg { background: #faeffa; color: #801e80; padding: 14px 16px; border-radius: 16px; font-size: 16px; line-height: 1.55; }
.assistant-inline-link { color: #811e81; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.assistant-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.assistant-chip {
    background: #ffffff;
    color: #1d1d1f;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.005em;
    text-align: left;
    min-height: 44px;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.assistant-chip:hover { background: #faeffa; border-color: #811e81; color: #801e80; }
.assistant-form { display: flex; gap: 8px; margin-top: 4px; align-items: center; }
.assistant-input { min-height: 46px; padding: 10px 14px; font-size: 16px; border-radius: 16px; flex: 1 1 auto; min-width: 0; }
.assistant-submit { min-height: 46px; padding: 0 18px; font-size: 15px; flex-shrink: 0; }

/* Footer Navy Deep (#471147 -> #350c35, radius atas 48px) */
footer {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
    color: rgba(255, 255, 255, 0.72);
    border-top: none;
    border-radius: 48px 48px 0 0;
    margin-top: auto;
    position: relative;
}
.footer-inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 56px var(--pad-x) 36px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 36px;
}
.footer-brand > strong { display: block; font-family: var(--font-heading); font-size: 22px; line-height: 1.15; margin-bottom: 12px; color: #ffffff; font-weight: 600; }
.footer-brand p strong { font-weight: 600; color: #ffffff; }
.footer-inner p, .footer-inner a, .footer-inner li { color: rgba(255, 255, 255, 0.72); font-size: 16px; line-height: 1.6; }
.footer-inner a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 0; transition: color .18s ease; }
.footer-inner a:hover { color: var(--cyan); text-decoration: underline; text-underline-offset: 4px; }
.footer-inner a:focus-visible { outline-color: var(--cyan); }
.footer-inner h4 { font-family: var(--font-heading); color: #ffffff; font-size: 18px; line-height: 1.2; text-transform: none; letter-spacing: 0; margin-bottom: 14px; font-weight: 600; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-bottom {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 20px var(--pad-x) 84px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.72);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    font-weight: 500;
}

/* Unified Empty State */
.empty,
.apple-empty-state {
    grid-column: 1 / -1;
    padding: 40px 24px;
    border: 1px dashed rgba(0, 0, 0, 0.14);
    border-radius: 28px;
    background: #ffffff;
    color: #3f4a5e;
    font-size: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.apple-empty-code {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(48px, 8vw, 72px);
    line-height: 0.9;
    color: #f4daf4;
    letter-spacing: 0.01em;
}

@media (max-width: 1120px) {
    .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 641px) and (max-width: 1023px) {
    .footer-bottom { padding-bottom: 96px; }
}

@media (max-width: 900px) {
    .grid-2, .grid-3, .form-grid, .app-grid, .service-panel-grid { grid-template-columns: 1fr; }
    .aparatur-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .section-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .section-heading > p { max-width: 100%; }
}

@media (max-width: 640px) {
    html { scroll-padding-top: 100px; }
    .grid-4, .footer-inner { grid-template-columns: 1fr; }
    .footer-inner a { min-height: 44px; }
    .aparatur-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .map-frame { height: 320px; }
    footer {
        padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }
    .assistant-widget {
        bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }
    .assistant-toggle {
        width: 56px;
        height: 56px;
        min-width: 56px;
        min-height: 56px;
        padding: 0;
        border-radius: 999px;
        gap: 0;
    }
    .assistant-label {
        display: none;
    }
    .assistant-toggle svg {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 380px) {
    .aparatur-grid { grid-template-columns: 1fr; }
}

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

/* ============================================================
   APPLE MODERN DESIGN SYSTEM (MOBILE-FIRST ARCHITECTURE)
============================================================ */
.apple-main-content {
    --apple-bg-alt: var(--page);
    --apple-bg-white: #ffffff;
    --apple-ink: #1d1d1f;
    --apple-muted: #3f4a5e;
    --apple-blue-deep: var(--blue-deep);
    --apple-blue: var(--blue);
    --apple-blue-hover: #7d1d7d;
    --apple-blue-soft: var(--tint-1);
    --apple-blue-mid: var(--tint-2);
    --apple-blue-tint: var(--sky);
    --apple-navy: var(--navy);
    --apple-chip-bg: #ececf0;
    --apple-hairline: rgba(0, 0, 0, 0.06);
    --apple-hairline-dark: rgba(255, 255, 255, 0.12);
    --apple-green-100: #3ddc84;
    --apple-radius-card: 28px;
    --apple-radius-panel: 32px;
    --apple-radius-pill: 999px;
    --apple-radius-chip: 14px;
    --apple-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -12px rgba(71, 17, 71, 0.12);
    --apple-shadow-hover: 0 6px 14px rgba(71, 17, 71, 0.08), 0 24px 48px -12px rgba(71, 17, 71, 0.22);

    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    color: var(--apple-ink);
    background: var(--page);
    padding-bottom: 0;
}

/* Alternating Bands, Surface Rhythm & Light Decorations */
.apple-band {
    position: relative;
    padding: 72px 0;
    overflow-x: clip;
    overflow-y: visible;
}
.apple-band--below-fold {
    content-visibility: auto;
    contain-intrinsic-size: auto 720px;
}
.apple-band--alt,
.apple-band--page {
    background: var(--page);
}
.apple-band--white {
    background: var(--apple-bg-white);
}
.apple-band--dots {
    background: linear-gradient(180deg, var(--page) 0%, var(--tint-1) 50%, var(--page) 100%);
}
.apple-band--tint-band {
    background: linear-gradient(180deg, var(--tint-2) 0%, var(--tint-1) 100%);
}
.apple-band--app-wrap {
    background: var(--page);
    padding: 36px 12px 72px;
}
.apple-band > .apple-container {
    position: relative;
    z-index: 2;
}
.apple-band-deco {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.apple-band-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(129, 30, 129, 0.18) 1px, transparent 1.5px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}
.apple-band-blob {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
}
.apple-band-blob--blue {
    width: clamp(300px, 42vw, 560px);
    height: clamp(300px, 42vw, 560px);
    top: -120px;
    left: -140px;
    background: radial-gradient(circle, rgba(129, 30, 129, 0.28) 0%, rgba(129, 30, 129, 0.08) 46%, transparent 72%);
}
.apple-band-blob--cyan {
    width: clamp(320px, 46vw, 620px);
    height: clamp(320px, 46vw, 620px);
    bottom: -140px;
    right: -120px;
    background: radial-gradient(circle, rgba(233, 178, 233, 0.38) 0%, rgba(233, 178, 233, 0.10) 48%, transparent 74%);
}
.apple-band-watermark {
    position: absolute;
    top: 12px;
    right: max(-10px, calc(50% - 680px));
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(8rem, 22vw, 18rem);
    line-height: 0.85;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: rgba(129, 30, 129, 0.06);
    white-space: nowrap;
    user-select: none;
    pointer-events: none;
}

/* Decorative Surface Rings (Scoped ONLY to Hero Bento Card), Ghost Icons & Status Dot */
.apple-surface-rings {
    display: none;
}
.apple-bento-grid > .apple-bento-card:first-child > .apple-surface-rings {
    display: block;
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    background-image: repeating-radial-gradient(circle at 100% 0, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 36px);
    -webkit-mask-image: radial-gradient(circle at 100% 0, #000 0, transparent 55%);
    mask-image: radial-gradient(circle at 100% 0, #000 0, transparent 55%);
}
.apple-deco-ghost-icon {
    position: absolute;
    right: 18px;
    bottom: 54px;
    top: auto;
    width: 120px;
    height: 120px;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}
.apple-app-sheet > .apple-deco-ghost-icon {
    right: 28px;
    top: 24px;
    bottom: auto;
    left: auto;
    opacity: 0.08;
}
.apple-status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--amber);
    flex-shrink: 0;
}
.apple-band.apple-top-stage {
    position: relative;
    z-index: 15;
    display: flow-root;
    padding-top: 0;
    padding-bottom: 72px;
    background: transparent;
    overflow: visible;
    border-top: none;
    border-bottom: none;
}
.apple-top-stage .apple-container {
    position: relative;
    z-index: 2;
}
.apple-top-stage .apple-search-bar {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-color: var(--apple-hairline);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 30px 70px -28px rgba(121, 28, 121, 0.45);
}
.apple-top-stage .apple-search-bar:focus-within {
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 4px rgba(129, 30, 129, 0.25), 0 2px 6px rgba(0, 0, 0, 0.05), 0 30px 70px -28px rgba(121, 28, 121, 0.45);
}
.apple-top-stage .apple-search-chips-label {
    color: var(--apple-muted);
}
.apple-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Headings: Left-aligned, Sentence-case, No uppercase eyebrows */
.apple-section-head {
    margin-bottom: 32px;
    text-align: left;
}
.apple-section-head--compact {
    margin-bottom: 24px;
}
.apple-section-head--dark {
    margin-bottom: 40px;
}
.apple-section-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.25rem, 5.2vw, 4rem);
    line-height: 1;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #601660;
    margin: 0 0 12px;
}
.apple-section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    border-radius: 999px;
    background: var(--amber);
    margin-top: 12px;
}
.apple-section-title--sub {
    font-size: clamp(2.25rem, 5.2vw, 4rem);
}
.apple-section-title--white {
    color: #ffffff;
}
.apple-section-lead {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
    line-height: 1.5;
    color: #3f4a5e;
    max-width: 52ch;
    margin: 0;
}
.apple-section-lead--light {
    color: rgba(255, 255, 255, 0.88);
}
.apple-section-lead strong {
    color: var(--apple-ink);
    font-weight: 600;
}
.apple-section-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Pills, Buttons & Interactive Elements */
.apple-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    border-radius: var(--apple-radius-pill);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.005em;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out;
}
.apple-pill-btn--primary {
    background: var(--apple-blue);
    color: #ffffff;
    border: 1px solid transparent;
    box-shadow: 0 4px 14px rgba(129, 30, 129, 0.28);
}
.apple-pill-btn--glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--apple-ink);
    border: 1px solid var(--apple-hairline);
    box-shadow: var(--apple-shadow);
}
.apple-pill-btn--glass-dark {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.apple-pill-btn--secondary {
    background: #ffffff;
    color: var(--apple-ink);
    border: 1px solid var(--apple-hairline);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.apple-btn-block {
    width: 100%;
}
.apple-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 44px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--apple-blue);
    letter-spacing: 0.005em;
    transition: color 180ms ease-out, gap 180ms ease-out;
}

@media (hover: hover) {
    .apple-pill-btn--primary:hover {
        background: var(--apple-blue-hover);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(129, 30, 129, 0.34);
    }
    .apple-pill-btn--glass:hover {
        background: #ffffff;
        color: var(--apple-blue);
        transform: translateY(-2px);
        box-shadow: var(--apple-shadow-hover);
    }
    .apple-pill-btn--glass-dark:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #ffffff;
        transform: translateY(-2px);
    }
    .apple-pill-btn--secondary:hover {
        color: var(--apple-blue);
        border-color: rgba(129, 30, 129, 0.35);
        transform: translateY(-2px);
    }
    .apple-inline-link:hover {
        color: var(--apple-blue-hover);
        gap: 7px;
    }
}

.apple-small-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
    color: var(--apple-muted);
    text-transform: none;
    margin: 0 0 8px;
}
.apple-small-label--light {
    color: rgba(255, 255, 255, 0.72);
}

.apple-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: var(--apple-radius-pill);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.005em;
    text-transform: none;
}
.apple-badge--blue {
    background: var(--tint-1);
    color: var(--blue-mid);
}
.surface-tint .apple-badge--blue {
    background: #ffffff;
    color: var(--blue-mid);
    border: 1px solid rgba(124, 29, 124, 0.14);
}
.apple-badge--neutral {
    background: var(--apple-chip-bg);
    color: var(--apple-muted);
}
.surface-tint .apple-badge--neutral {
    background: rgba(255, 255, 255, 0.78);
    color: #601660;
}
.apple-badge--translucent {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

.apple-icon-chip {
    width: 44px;
    height: 44px;
    border-radius: var(--apple-radius-chip);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.apple-icon-chip--blue {
    background: var(--apple-blue-soft);
    color: var(--apple-blue);
}
.apple-icon-chip--white {
    background: #ffffff;
    color: var(--apple-blue);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.apple-icon-chip--translucent {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Card Foundation */
.apple-card {
    background-color: var(--apple-bg-white);
    border: 1px solid var(--apple-hairline);
    border-radius: var(--apple-radius-card);
    box-shadow: var(--apple-shadow);
    padding: 24px;
    container-type: inline-size;
}
.apple-card--dark {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--apple-hairline-dark);
    color: #ffffff;
}
.apple-card--dark-subtle {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}
.apple-card-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    color: #330f33;
    margin: 12px 0 8px;
}
.apple-card-meta {
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0;
    color: var(--apple-muted);
    max-width: 60ch;
    margin: 8px 0 0;
}
.apple-card-meta--light {
    color: rgba(255, 255, 255, 0.78);
}
.apple-card-footnote {
    display: block;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #6e6e73;
}
.apple-card-footnote strong {
    color: var(--apple-ink);
    font-weight: 600;
}
.apple-nowrap { white-space: nowrap; }
.apple-mb-0 { margin-bottom: 0; }
.apple-mt-sm { margin-top: 12px; }

/* Single-Line Rupiah Typography Rule */
.apple-rupiah {
    display: inline-flex;
    align-items: baseline;
    white-space: nowrap;
    font-family: var(--font-display);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: clamp(20px, 5.8vw, 42px);
    line-height: 1;
    letter-spacing: 0;
    color: var(--apple-blue-deep);
}
.apple-rupiah--lg {
    font-size: clamp(24px, 6.8vw, 52px);
}
.apple-rupiah--dark {
    color: #ffffff;
}
@container (min-width: 0px) {
    .apple-rupiah {
        font-size: clamp(20px, 9cqi, 44px);
    }
    .apple-rupiah--lg {
        font-size: clamp(24px, 11cqi, 54px);
    }
}
.apple-rupiah-unit {
    font-family: var(--font-display);
    font-size: 0.4em;
    font-weight: 600;
    color: #6e6e73;
}
.apple-rupiah--dark .apple-rupiah-unit {
    color: rgba(255, 255, 255, 0.68);
}

/* ============================================================
   2. STATISTIK DESA (PANEL TUNGGAL RAMPING: MOBILE 2 KOLOM)
============================================================ */
.apple-stats-panel {
    box-sizing: border-box;
    position: relative;
    margin: 40px -4px 0;
    width: calc(100% + 8px);
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 20px 50px -24px rgba(86, 20, 86, 0.25);
    padding: 16px;
}
.apple-stats-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.apple-stat-cell {
    box-sizing: border-box;
    position: relative;
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 6px;
    min-width: 0;
    transition: background 200ms ease-out, background-color 200ms ease-out;
}
.apple-stat-cell:nth-child(-n+4) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.apple-stat-cell:nth-child(1),
.apple-stat-cell:nth-child(3) {
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}
.apple-stat-cell--idm {
    grid-column: 1 / -1;
    padding: 12px 8px 4px;
    border-radius: 20px;
    background: radial-gradient(closest-side at 50% 45%, #faeffa 0%, rgba(250, 239, 250, 0.42) 56%, transparent 100%);
}
@media (hover: hover) {
    .apple-stat-cell:hover {
        background: #fdf7fd;
    }
}
.apple-stat-value,
.apple-idm-head {
    font-family: var(--font-display);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: clamp(28px, 11cqi, 44px);
    line-height: 1;
    letter-spacing: 0;
    white-space: nowrap;
}
@supports not (container-type: inline-size) {
    .apple-stat-value,
    .apple-idm-head {
        font-size: clamp(28px, 8vw, 40px);
    }
}
.apple-stat-num {
    display: inline-block;
    font-size: 1em;
    line-height: 1;
    color: #801e80;
    background: linear-gradient(180deg, #7a1d7a 0%, #811e81 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.apple-stat-unit {
    font-family: var(--font-display);
    font-size: 0.4em;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    color: #6e6e73;
    -webkit-text-fill-color: #6e6e73;
    vertical-align: baseline;
    margin-left: 0.2em;
}
.apple-stat-unit--sep {
    margin-right: 0.14em;
}
.apple-stat-label {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    color: #6e6e73;
    margin-top: 6px;
    text-align: center;
}
.apple-idm-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 14px;
    width: 100%;
}
.apple-idm-head {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.apple-idm-pill {
    font-family: var(--font-body);
    background: #faeffa;
    color: #811e81;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 5px 11px;
    border-radius: var(--apple-radius-pill);
    letter-spacing: 0.005em;
    white-space: nowrap;
}
.apple-idm-gauge {
    flex: 1 1 116px;
    min-width: 110px;
    max-width: 196px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 3px;
    align-items: center;
}
.apple-idm-seg {
    position: relative;
    height: 6px;
    border-radius: 999px;
    background: #f0e1f0;
}
.apple-idm-seg--active {
    overflow: visible;
}
.apple-idm-seg-fill {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #9f259f 0%, #811e81 100%);
    transform-origin: left center;
    transform: scaleX(1);
    will-change: transform;
}
.apple-idm-seg-dot {
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 2px solid #811e81;
    box-shadow: 0 1px 3px rgba(129, 30, 129, 0.35);
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: none;
    will-change: transform, opacity;
}
.apple-stats-panel.is-pre-animate .apple-idm-seg-fill {
    transform: scaleX(0);
}
.apple-stats-panel.is-pre-animate .apple-idm-seg-dot {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.35);
}
.apple-stats-panel.is-gauge-active .apple-idm-seg-fill {
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    transform: scaleX(1);
}
.apple-stats-panel.is-gauge-active .apple-idm-seg-dot {
    transition: opacity 180ms ease-out 660ms, transform 380ms cubic-bezier(0.34, 1.56, 0.64, 1) 660ms;
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}
@media (prefers-reduced-motion: reduce) {
    .apple-stats-panel.is-pre-animate .apple-idm-seg-fill,
    .apple-stats-panel.is-gauge-active .apple-idm-seg-fill {
        transform: scaleX(1) !important;
    }
    .apple-stats-panel.is-pre-animate .apple-idm-seg-dot,
    .apple-stats-panel.is-gauge-active .apple-idm-seg-dot {
        opacity: 1 !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }
}

/* ============================================================
   3. PENCARIAN (MOBILE: MARGIN SAMPING 16px, TINGGI 60px, OVERLAP -30px)
============================================================ */
.apple-search-wrap {
    position: relative;
    z-index: 30;
    margin: -30px -4px 0;
    width: calc(100% + 8px);
}
.apple-search-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 60px;
    min-height: 60px;
    padding: 8px 8px 8px 18px;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid var(--apple-hairline);
    border-radius: var(--apple-radius-pill);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 30px 70px -28px rgba(121, 28, 121, 0.45);
    transition: box-shadow 200ms ease-out, border-color 200ms ease-out;
}
.apple-search-bar:focus-within {
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 4px rgba(129, 30, 129, 0.25), 0 2px 6px rgba(0, 0, 0, 0.05), 0 30px 70px -28px rgba(121, 28, 121, 0.45);
}
.apple-search-icon {
    width: 22px;
    height: 22px;
    color: #6e6e73;
    flex-shrink: 0;
}
.apple-search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
    color: #1d1d1f;
    padding: 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.apple-search-input::placeholder {
    font-family: inherit;
    font-weight: 400;
    color: #8e8e93;
}
.apple-search-input:focus-visible {
    outline: none;
}
.apple-search-btn {
    background: #811e81;
    color: #ffffff;
    border: none;
    border-radius: var(--apple-radius-pill);
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 180ms ease-out, transform 160ms ease-out;
}
@media (hover: hover) {
    .apple-search-btn:hover {
        background: var(--apple-blue-hover);
    }
}
.apple-search-btn:active {
    transform: scale(0.97);
}
.apple-search-btn-text {
    display: none;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.005em;
}
.apple-search-btn-icon {
    display: block;
}
.apple-search-chips-scroller {
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 16px;
    margin: 14px -20px 0;
    padding: 0 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.apple-search-chips-scroller::-webkit-scrollbar {
    display: none;
}
.apple-search-chips-row {
    display: flex;
    gap: 8px;
    width: max-content;
    align-items: center;
}
.apple-search-chips-label {
    font-size: 14px;
    font-weight: 500;
    color: #6e6e73;
    margin-right: 4px;
    flex-shrink: 0;
    scroll-snap-align: start;
}
.apple-chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--apple-radius-pill);
    background: #ececf0;
    border: none;
    color: var(--apple-ink);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.005em;
    white-space: nowrap;
    scroll-snap-align: start;
    flex-shrink: 0;
    transition: background-color 180ms ease-out, color 180ms ease-out;
}
@media (hover: hover) {
    .apple-chip:hover {
        background: var(--apple-blue-soft);
        color: var(--apple-blue-deep);
    }
}

/* ============================================================
   4. LAYANAN PUBLIK (BENTO GRID 12 KOLOM TIDAK SERAGAM)
============================================================ */
.apple-bento-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.apple-bento-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border-radius: var(--apple-radius-card);
    border: 1px solid var(--apple-hairline);
    box-shadow: var(--apple-shadow);
    text-decoration: none;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease-out, background-position 300ms ease;
}
.apple-bento-card > :not(.apple-surface-rings):not(.apple-deco-ghost-icon) {
    position: relative;
    z-index: 1;
}
.apple-bento-card--hero-blue {
    background-image: linear-gradient(135deg, #811e81 0%, #7c1d7c 55%, #801e80 100%);
    background-size: 145% 145%;
    background-position: 0% 50%;
    color: #ffffff;
    border-color: transparent;
}
.apple-bento-card--white {
    background-color: #ffffff;
    background-image: radial-gradient(circle at 100% 0%, rgba(129, 30, 129, 0.08) 0%, transparent 56%);
    color: #601660;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.apple-bento-card--soft-blue {
    background-image:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 55%),
        linear-gradient(135deg, #f8e6f8 0%, var(--sky) 100%);
    background-size: 100% 100%, 145% 145%;
    background-position: 0 0, 0% 50%;
    color: #601660;
    border-color: rgba(128, 30, 128, 0.14);
}
.apple-bento-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}
.apple-card-category {
    font-size: 14px;
    font-weight: 600;
    color: #51607a;
}
.surface-vivid .apple-card-category,
.surface-navy .apple-card-category,
.apple-bento-card--hero-blue .apple-card-category {
    color: #ffffff;
}
.surface-sky .apple-card-category,
.apple-bento-card--soft-blue .apple-card-category {
    color: var(--blue-mid);
}
.apple-bento-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    color: #601660;
    margin: 0 0 8px;
}
.surface-vivid .apple-bento-title,
.surface-navy .apple-bento-title,
.apple-bento-card--hero-blue .apple-bento-title {
    color: #ffffff;
}
.apple-bento-desc {
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0;
    color: var(--apple-muted);
    max-width: 60ch;
    margin: 0;
}
.surface-vivid .apple-bento-desc,
.surface-navy .apple-bento-desc,
.apple-bento-card--hero-blue .apple-bento-desc {
    color: #ffffff;
}
.surface-sky .apple-bento-desc,
.apple-bento-card--soft-blue .apple-bento-desc {
    color: #601660;
}
.apple-card-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: var(--blue-mid);
    margin-top: auto;
}
.surface-vivid .apple-card-action,
.surface-navy .apple-card-action,
.apple-bento-card--hero-blue .apple-card-action {
    color: #ffffff;
}
.apple-bento-circle {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(129, 30, 129, 0.24);
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), background-color 240ms ease;
}
.surface-sky .apple-bento-circle {
    background: var(--blue-mid);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(124, 29, 124, 0.28);
}
.surface-vivid .apple-bento-circle,
.surface-navy .apple-bento-circle,
.apple-bento-card--hero-blue .apple-bento-circle {
    background: #ffffff;
    color: var(--navy);
    box-shadow: 0 6px 16px rgba(53, 12, 53, 0.28);
}
@media (hover: hover) {
    .apple-bento-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 40px -12px rgba(71, 17, 71, 0.28), 0 4px 12px rgba(129, 30, 129, 0.14);
        background-position: 100% 50%;
    }
    .apple-bento-card.surface-navy:hover,
    .apple-bento-card.surface-sky:hover {
        background-position: 0 0, 100% 50%;
    }
    .apple-bento-card:hover .apple-bento-circle {
        transform: translateX(4px);
    }
}

/* Mini Previews inside Bento Cards */
.apple-mini-preview {
    margin-top: 14px;
}
.apple-mini-preview--nik {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--apple-radius-pill);
    padding: 6px 14px;
}
.apple-mini-nik-input {
    font-family: var(--font-display);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    font-size: 16px;
    letter-spacing: 0.02em;
    color: #ffffff;
}
.apple-mini-nik-btn {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.005em;
    background: #ffffff;
    color: var(--blue-deep);
    padding: 2px 10px;
    border-radius: var(--apple-radius-pill);
}
.apple-ticket-pill {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.005em;
    color: var(--blue-deep);
    background: var(--tint-1);
    padding: 5px 14px;
    border-radius: var(--apple-radius-pill);
}
.surface-navy .apple-ticket-pill,
.surface-vivid .apple-ticket-pill {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #ffffff;
}

/* ============================================================
   5. PENGUMUMAN RESMI (CAROUSEL SCROLL-SNAP)
============================================================ */
.apple-announce-scroller {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    margin: 0 -20px;
    padding: 0 20px 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.apple-announce-scroller::-webkit-scrollbar {
    display: none;
}
.apple-announce-row {
    display: flex;
    gap: 16px;
    width: max-content;
}
.apple-announce-card {
    position: relative;
    overflow: hidden;
    scroll-snap-align: start;
    width: 82vw;
    max-width: 360px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}
.apple-announce-card > :not(.apple-surface-rings) {
    position: relative;
    z-index: 1;
}
.apple-announce-strip {
    background: var(--tint-1);
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(128, 30, 128, 0.08);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.apple-announce-card--hero .apple-announce-strip {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    padding: 24px 24px 18px;
}
.apple-announce-date-col {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #811e81 0%, #7c1d7c 55%, #801e80 100%);
    color: #ffffff;
    box-shadow: 0 8px 18px -6px rgba(129, 30, 129, 0.36);
}
.apple-announce-card--hero .apple-announce-date-col {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, rgba(71, 17, 71, 0.28) 100%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: none;
}
.apple-announce-day {
    font-family: var(--font-display);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    font-size: 56px;
    line-height: 0.92;
    color: #ffffff;
    letter-spacing: 0;
    white-space: nowrap;
}
.apple-announce-mo {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin-top: 4px;
}
.apple-announce-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px 24px 24px;
}
.apple-announce-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    color: #601660;
    margin: 12px 0 8px;
}
.apple-announce-card--hero .apple-announce-title {
    color: #ffffff;
}
.apple-announce-snippet {
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0;
    color: var(--apple-muted);
    max-width: 60ch;
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.apple-announce-card--hero .apple-announce-snippet {
    color: #ffffff;
}
.apple-announce-card--hero .apple-inline-link {
    color: #ffffff;
    margin-top: auto;
}
.apple-announce-card--hero .apple-inline-link:hover {
    color: var(--cyan);
}
.apple-announce-content .apple-inline-link {
    margin-top: auto;
}

/* ============================================================
   6. INFORMASI LAYANAN ADMINISTRASI (3 ALUR + TABS EXPLORER)
============================================================ */
.apple-flow-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}
.apple-flow-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    padding: 20px 22px;
}
.apple-flow-card > :not(.apple-surface-rings):not(.apple-deco-ghost-icon) {
    position: relative;
    z-index: 1;
}
.apple-flow-step {
    font-family: var(--font-display);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    font-size: 40px;
    line-height: 1;
    color: var(--blue-mid);
    flex-shrink: 0;
}
.apple-flow-step--light,
.surface-vivid .apple-flow-step {
    color: #ffffff;
}
.surface-navy .apple-flow-step {
    color: var(--cyan);
}
.apple-flow-card--blue {
    background-image: linear-gradient(135deg, #811e81 0%, #7c1d7c 55%, #801e80 100%);
    border-color: transparent;
    color: #ffffff;
}
.apple-flow-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 1.6vw, 22px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    color: #601660;
    margin: 0 0 4px;
}
.apple-flow-card--blue .apple-flow-title,
.surface-vivid .apple-flow-title,
.surface-navy .apple-flow-title {
    color: #ffffff;
}
.apple-flow-desc {
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0;
    color: var(--apple-muted);
    max-width: 60ch;
    margin: 0;
}
.surface-sky .apple-flow-desc {
    color: #601660;
}
.apple-flow-card--blue .apple-flow-desc,
.surface-vivid .apple-flow-desc,
.surface-navy .apple-flow-desc {
    color: #ffffff;
}

/* Tabs + Detail Card */
.apple-service-explorer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}
.apple-service-tablist-wrap {
    position: sticky;
    top: 80px;
    z-index: 25;
    min-width: 0;
    margin: 0;
    padding: 12px;
    border-radius: 32px;
    background: var(--tint-1);
    border: 1px solid rgba(128, 30, 128, 0.10);
    box-shadow: 0 8px 24px -12px rgba(71, 17, 71, 0.12);
}
.apple-service-tablist {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 12px;
    gap: 8px;
    padding: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.apple-service-tablist::-webkit-scrollbar {
    display: none;
}
.apple-service-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.005em;
    white-space: nowrap;
    border: 0;
    background: rgba(255, 255, 255, 0.62);
    color: #601660;
    cursor: pointer;
    scroll-snap-align: center;
    flex-shrink: 0;
    transition: background-color 180ms ease-out, color 180ms ease-out, box-shadow 180ms ease-out;
}
.apple-service-tab:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(129, 30, 129, 0.4);
}
.apple-service-tab.is-active {
    background: #ffffff;
    color: var(--blue-mid);
    box-shadow: 0 6px 16px -4px rgba(71, 17, 71, 0.18);
}
.apple-service-tab.is-active:focus-visible {
    box-shadow: 0 0 0 3px rgba(129, 30, 129, 0.4), 0 6px 16px -4px rgba(71, 17, 71, 0.18);
}
.apple-tab-arrow {
    display: none;
    flex-shrink: 0;
}
.apple-service-details {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    min-width: 0;
    background: #ffffff;
    border-radius: 28px;
}
.apple-service-detail-card {
    grid-area: 1 / 1;
    min-width: 0;
    container-type: normal;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 20px 50px -24px rgba(71, 17, 71, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: none;
    z-index: 1;
}
.apple-service-detail-card.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    z-index: 2;
    transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
                transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.apple-service-detail-head {
    position: relative;
    overflow: hidden;
    padding: 24px 24px 22px;
    background-image: linear-gradient(135deg, #811e81 0%, #7c1d7c 55%, #801e80 100%);
    color: #ffffff;
}
.apple-service-detail-head > :not(.apple-surface-rings) {
    position: relative;
    z-index: 1;
}
.apple-service-detail-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.apple-service-detail-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: #ffffff;
}
.apple-service-panel-title {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0;
    color: #ffffff;
    margin: 0;
}
.apple-service-panel-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}
.apple-service-col {
    min-width: 0;
}
.apple-service-col-heading {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: #601660;
    margin: 0 0 10px;
}
.apple-service-text {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.6;
    letter-spacing: 0;
    color: #3f4a5e;
    max-width: 60ch;
    margin: 0;
}
.apple-service-req-list {
    counter-reset: service-req;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.5;
    letter-spacing: 0;
    color: #3f4a5e;
    max-width: 60ch;
}
.apple-service-req-list li {
    counter-increment: service-req;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
}
.apple-service-req-list li::before {
    content: counter(service-req);
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #faeffa;
    color: #811e81;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-variant-numeric: tabular-nums;
    margin-top: 0;
}
.apple-service-panel-actions {
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.apple-service-panel-actions .apple-pill-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    height: auto;
    padding: 12px 24px;
    border-radius: 999px;
    background: #811e81;
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
    transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease-out, box-shadow 180ms ease-out;
}
.apple-service-panel-actions .apple-pill-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(129, 30, 129, 0.4);
}
@media (hover: hover) {
    .apple-service-panel-actions .apple-pill-btn:hover {
        transform: translateY(-2px);
    }
}
@media (min-width: 900px) {
    .apple-service-explorer {
        display: grid;
        grid-template-columns: 360px minmax(0, 1fr);
        gap: 32px;
        align-items: start;
    }
    .apple-service-tablist-wrap {
        position: sticky;
        top: 96px;
        z-index: 10;
        min-width: 0;
        margin: 0;
        padding: 12px;
        border-radius: 32px;
        background: var(--tint-1);
        border: 1px solid rgba(128, 30, 128, 0.10);
        box-shadow: 0 12px 28px -14px rgba(71, 17, 71, 0.12);
    }
    .apple-service-tablist {
        display: flex;
        flex-direction: column;
        gap: 6px;
        overflow: visible;
        scroll-snap-type: none;
        scroll-padding-inline: 0;
        padding: 0;
    }
    .apple-service-tab {
        width: 100%;
        height: auto;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 18px;
        border-radius: 20px;
        border: 1px solid transparent;
        background: transparent;
        font-family: var(--font-body);
        font-weight: 600;
        font-size: 17px;
        line-height: 1.25;
        letter-spacing: 0;
        white-space: normal;
        text-align: left;
        color: #601660;
        box-shadow: none;
        flex-shrink: 1;
        transition: background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out, box-shadow 180ms ease-out;
    }
    .apple-service-tab > span {
        min-width: 0;
        flex: 1;
        overflow-wrap: break-word;
    }
    .apple-service-tab.is-active {
        background: #ffffff;
        color: var(--blue-mid);
        border-color: rgba(128, 30, 128, 0.08);
        box-shadow: 0 10px 24px -12px rgba(71, 17, 71, 0.22);
    }
    .apple-service-tab.is-active:focus-visible {
        box-shadow: 0 0 0 3px rgba(129, 30, 129, 0.4), 0 10px 24px -12px rgba(71, 17, 71, 0.22);
    }
    .apple-tab-arrow {
        display: block;
        flex-shrink: 0;
        width: 16px;
        height: 16px;
        color: var(--blue-mid);
        opacity: 0;
        visibility: hidden;
    }
    .apple-service-tab.is-active .apple-tab-arrow {
        opacity: 1;
        visibility: visible;
    }
    .apple-service-details {
        border-radius: 28px;
    }
    .apple-service-detail-card {
        padding: 0;
        border-radius: 28px;
    }
    .apple-service-detail-head {
        padding: 32px 44px 26px;
    }
    .apple-service-detail-body {
        padding: 32px 44px 40px;
    }
    .apple-service-panel-title {
        font-size: 32px;
        margin: 0;
    }
    .apple-service-panel-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
        gap: 48px;
        margin-bottom: 28px;
    }
    .apple-service-text,
    .apple-service-req-list {
        font-size: 18px;
    }
    .apple-service-req-list li::before {
        margin-top: 1px;
    }
    .apple-service-panel-actions .apple-pill-btn {
        width: auto;
        height: 52px;
        min-height: 52px;
        padding: 0 28px;
        line-height: 1;
        white-space: nowrap;
    }
}
@media (min-width: 900px) and (hover: hover) {
    .apple-service-tab:not(.is-active):hover {
        background: rgba(255, 255, 255, 0.72);
        color: #601660;
    }
}
@media (prefers-reduced-motion: reduce) {
    .apple-service-tab,
    .apple-service-detail-card,
    .apple-service-detail-card.is-active,
    .apple-service-panel-actions .apple-pill-btn {
        transition: none;
    }
}

/* ============================================================
   7. APBDES (SATU-SATUNYA SECTION GELAP: NAVY #471147)
============================================================ */
.apple-apbdes-section {
    padding: 0 12px;
    margin: 72px 0;
    content-visibility: auto;
    contain-intrinsic-size: auto 760px;
}
.apple-apbdes-panel {
    position: relative;
    overflow: hidden;
    background-color: var(--navy);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(233, 178, 233, 0.28) 0%, transparent 48%),
        linear-gradient(160deg, #801e80 0%, var(--navy) 100%);
    border-radius: 32px;
    padding: 56px 20px;
    color: #ffffff;
    box-shadow: 0 20px 48px -12px rgba(71, 17, 71, 0.4);
}
.apple-apbdes-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
    z-index: 0;
}
.apple-apbdes-panel > * {
    position: relative;
    z-index: 1;
}
.apple-apbdes-bento {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.apple-apbdes-hero-card {
    padding: 28px 20px;
    text-align: center;
}
.apple-apbdes-ring-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
}
.apple-ring-wrap {
    position: relative;
    width: 140px;
    height: 140px;
    flex-shrink: 0;
}
.apple-ring-svg {
    transform: rotate(-90deg);
}
.apple-ring-track--dark {
    fill: none;
    stroke: rgba(255, 255, 255, 0.12);
    stroke-width: 12;
}
.apple-ring-fill--glow {
    fill: none;
    stroke: #811e81;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dashoffset 600ms ease-out;
}
.apple-ring-center {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.apple-ring-pct--light {
    font-family: var(--font-display);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    line-height: 1;
    font-size: 34px;
    color: #ffffff;
}
.apple-apbdes-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.apple-apbdes-projects-scroller {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 20px;
    margin: 24px -20px;
    padding: 0 20px 16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.apple-apbdes-projects-scroller::-webkit-scrollbar {
    display: none;
}
.apple-apbdes-projects-row {
    display: flex;
    gap: 14px;
    width: max-content;
}
.apple-project-dark-card {
    scroll-snap-align: start;
    width: 84vw;
    max-width: 360px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    padding: 22px;
}
.apple-project-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.apple-project-pct {
    font-family: var(--font-display);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    font-size: 22px;
    white-space: nowrap;
}
.apple-project-pct.is-complete-green {
    color: var(--cyan);
}
.apple-project-pct.is-blue-light {
    color: var(--sky);
}
.apple-project-title-dark {
    font-family: var(--font-heading);
    font-size: clamp(20px, 1.6vw, 22px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    color: #ffffff;
    margin: 12px 0 6px;
}
.apple-project-meta-dark {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 16px;
}
.apple-progress-track--dark {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    overflow: hidden;
    margin-top: auto;
    margin-bottom: 12px;
}
.apple-progress-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    transition: width 320ms cubic-bezier(0.22, 1, 0.36, 1);
}
.apple-progress-fill.is-green-fill {
    background: var(--cyan);
}
.apple-progress-fill.is-cyan-fill {
    background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
}
.apple-project-budget-dark {
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}
.apple-project-budget-dark strong {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 20px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: #ffffff;
}
.apple-apbdes-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.apple-apbdes-actions .apple-pill-btn {
    width: 100%;
}

/* ============================================================
   8. PROFIL & PETA WILAYAH (MOBILE: 360px TINGGI)
============================================================ */
.apple-map-container {
    height: 360px;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--apple-hairline);
    box-shadow: var(--apple-shadow);
    background: #f0e2f0;
}
.apple-map-viewport {
    width: 100%;
    height: 100%;
    position: relative;
}
.apple-map-frame {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
.apple-map-marker-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.apple-marker-dot {
    width: 16px;
    height: 16px;
    background: #811e81;
    border: 3px solid #ffffff;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
.apple-marker-pulse {
    position: absolute;
    top: -12px;
    left: -12px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: rgba(129, 30, 129, 0.3);
    animation: markerPulse 2s infinite ease-out;
}
@keyframes markerPulse {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}
.apple-map-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--apple-blue);
    border: 1px solid var(--apple-hairline);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 10;
}
.apple-map-btn-text {
    display: none;
}
.apple-map-glass-card {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 10;
}
.apple-map-stat-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.apple-map-stat-num {
    font-family: var(--font-display);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    font-size: 26px;
    line-height: 1;
    color: var(--apple-blue-deep);
}
.apple-map-stat-num small {
    font-family: var(--font-display);
    font-size: 0.4em;
    font-weight: 600;
    color: #6e6e73;
}
.apple-map-stat-lbl {
    font-size: 14px;
    font-weight: 500;
    color: #6e6e73;
    margin-top: 4px;
}
.apple-map-divider {
    width: 1px;
    height: 28px;
    background: var(--apple-hairline);
}

/* ============================================================
   9. APARATUR (MOBILE: GRID 2 KOLOM, KADES 2x1 RASIO 4/3)
============================================================ */
.apple-aparatur-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.apple-aparatur-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
}
.apple-aparatur-card > :not(.apple-surface-rings) {
    position: relative;
    z-index: 1;
}
.apple-aparatur-card--staff {
    background-color: #ffffff;
    background-image: radial-gradient(circle at 100% 0%, rgba(129, 30, 129, 0.08) 0%, transparent 56%);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.apple-aparatur-card--kades {
    grid-column: 1 / -1;
    background-image: linear-gradient(135deg, #811e81 0%, #7c1d7c 55%, #801e80 100%);
    color: #ffffff;
    border-color: transparent;
}
.apple-aparatur-portrait {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(160deg, var(--tint-1) 0%, var(--tint-2) 100%);
    overflow: hidden;
}
.apple-aparatur-card--kades .apple-aparatur-portrait {
    aspect-ratio: 4 / 3;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(71, 17, 71, 0.24) 100%);
}
.apple-aparatur-monogram {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    text-align: center;
}
.apple-monogram-letters {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(56px, 14vw, 100px);
    line-height: 0.85;
    color: var(--blue-mid);
    opacity: 0.36;
    user-select: none;
}
.apple-aparatur-card--kades .apple-monogram-letters {
    color: #ffffff;
    opacity: 0.92;
}
.apple-monogram-caption {
    font-size: 14px;
    font-weight: 600;
    color: #3f4a5e;
}
.apple-aparatur-card--kades .apple-monogram-caption {
    color: rgba(255, 255, 255, 0.88);
}
.apple-aparatur-img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.apple-aparatur-copy {
    padding: 14px 16px 16px;
}
.apple-aparatur-card--kades .apple-aparatur-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.apple-aparatur-role {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue-mid);
    margin: 0 0 4px;
}
.apple-aparatur-card--kades .apple-aparatur-role {
    color: var(--cyan);
}
.apple-aparatur-name {
    font-family: var(--font-heading);
    font-size: clamp(20px, 1.5vw, 22px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    color: #601660;
    margin: 0;
}
.apple-aparatur-card--kades .apple-aparatur-name {
    font-size: clamp(22px, 2vw, 26px);
    color: #ffffff;
}
.apple-aparatur-card-cta {
    position: relative;
    overflow: hidden;
    grid-column: 1 / -1;
    background-color: var(--navy);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(233, 178, 233, 0.30) 0%, transparent 50%),
        linear-gradient(160deg, #801e80 0%, var(--navy) 100%);
    background-size: 100% 100%, 145% 145%;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 24px;
    text-decoration: none;
    box-shadow: 0 14px 32px -10px rgba(71, 17, 71, 0.42);
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease, background-position 300ms ease;
}
.apple-aparatur-card-cta > :not(.apple-surface-rings):not(.apple-deco-ghost-icon) {
    position: relative;
    z-index: 1;
}
.apple-cta-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: var(--apple-radius-chip);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.24);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.apple-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 1.8vw, 24px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    color: #ffffff;
    margin: 0 0 6px;
}
.apple-cta-desc {
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0;
    color: rgba(255, 255, 255, 0.92);
    margin: 0;
}

@media (hover: hover) {
    .apple-aparatur-img {
        filter: grayscale(100%);
        transition: filter 220ms ease;
    }
    .apple-aparatur-card:hover .apple-aparatur-img {
        filter: grayscale(0%);
    }
    .apple-aparatur-card-cta:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px -10px rgba(71, 17, 71, 0.5);
        background-position: 0 0, 100% 50%;
    }
}

/* ============================================================
   10-12. POTENSI, BERITA & APLIKASI
============================================================ */
.apple-two-col {
    display: flex;
    flex-direction: column;
    gap: 36px;
}
.apple-stack {
    display: grid;
    gap: 16px;
}
.apple-stack > .apple-card.surface-tint .apple-card-title,
.apple-stack > .apple-card.surface-paper .apple-card-title {
    color: #601660;
}
.apple-stack > .apple-card.surface-tint .apple-card-meta,
.apple-stack > .apple-card.surface-tint .apple-card-footnote {
    color: #5e1e5e;
}
.apple-agenda-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

/* Berita Cards */
.apple-news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.apple-news-card {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    background-image: radial-gradient(circle at 100% 0%, rgba(129, 30, 129, 0.08) 0%, transparent 56%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--apple-radius-card);
    box-shadow: var(--apple-shadow);
    overflow: hidden;
    text-decoration: none;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease;
}
@media (hover: hover) {
    .apple-news-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--apple-shadow-hover);
    }
}
.apple-news-media {
    position: relative;
    aspect-ratio: 3 / 2;
    background: linear-gradient(135deg, var(--sky) 0%, var(--blue) 100%);
    overflow: hidden;
}
.apple-news-media.has-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(71, 17, 71, 0.55) 100%);
    pointer-events: none;
}
.apple-news-cat-corner {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: var(--apple-radius-pill);
    background: rgba(71, 17, 71, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}
.apple-news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.apple-news-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    padding: 20px;
    text-align: center;
    background: linear-gradient(180deg, transparent 35%, rgba(71, 17, 71, 0.58) 100%);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 32px;
    line-height: 1;
    color: #ffffff;
}
.apple-news-placeholder span {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
}
.apple-news-copy {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.apple-news-title {
    font-family: var(--font-heading);
    font-size: clamp(20px, 1.6vw, 22px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
    color: #601660;
    margin: 0 0 8px;
}
.apple-news-excerpt {
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0;
    color: var(--apple-muted);
    max-width: 60ch;
    margin: 0 0 14px;
}
.apple-news-copy .apple-card-action {
    margin-top: auto;
    justify-content: flex-start;
    gap: 6px;
}

/* Aplikasi Mobile Showcase (Sheet Vivid 48px) */
.apple-app-sheet {
    position: relative;
    overflow: hidden;
    max-width: var(--max-w);
    margin: 0 auto;
    border-radius: 36px;
    padding: 40px 22px;
    box-shadow: 0 24px 52px -16px rgba(71, 17, 71, 0.34);
}
.apple-app-sheet > :not(.apple-surface-rings):not(.apple-deco-ghost-icon) {
    position: relative;
    z-index: 1;
}
.apple-app-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.apple-app-copy .apple-section-lead {
    color: #ffffff;
}
.apple-app-copy .apple-inline-link {
    color: #ffffff;
}
@media (hover: hover) {
    .apple-app-copy .apple-inline-link:hover {
        color: var(--cyan);
    }
}
.apple-app-benefits {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: grid;
    gap: 12px;
}
.apple-app-benefits li {
    position: relative;
    padding-left: 28px;
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0;
    max-width: 60ch;
    color: #ffffff;
}
.apple-app-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    box-shadow: inset 0 0 0 4px #ffffff;
}
.apple-app-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--apple-radius-card);
    box-shadow: 0 20px 44px -14px rgba(53, 12, 53, 0.36);
    padding: 24px;
    color: var(--apple-ink);
}
.apple-app-identity {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.apple-app-identity img {
    width: 44px;
    height: 56px;
    flex-shrink: 0;
}
.apple-app-identity strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.15;
    color: #330f33;
}
.apple-app-identity span:not(.apple-badge) {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #6e6e73;
}
.apple-app-identity .apple-badge {
    margin-left: auto;
}
.apple-release-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px 0;
    margin: 0 0 16px;
    border-top: 1px solid var(--apple-hairline);
    border-bottom: 1px solid var(--apple-hairline);
}
.apple-release-meta dt {
    font-size: 14px;
    font-weight: 500;
    color: #6e6e73;
}
.apple-release-meta dd {
    margin: 2px 0 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--apple-ink);
}
.apple-device-notice {
    background: var(--apple-bg-alt);
    border: 1px solid var(--apple-hairline);
    border-radius: 16px;
    padding: 16px 18px;
}
.apple-device-notice strong {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: var(--apple-ink);
    margin-bottom: 4px;
}
.apple-device-notice p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--apple-muted);
    margin: 0;
}
.apple-empty-inline {
    padding: 24px;
    text-align: center;
    font-size: 17px;
    color: var(--apple-muted);
}

/* ============================================================
   SHARED BLUE-FAMILY CARD TONES (.surface-*)
   Placed after base card styles so card tones never get reset.
============================================================ */
.surface-vivid {
    background-color: var(--blue-deep);
    background-image: linear-gradient(135deg, #811e81 0%, #7c1d7c 55%, #801e80 100%);
    background-size: 145% 145%;
    background-position: 0% 50%;
    color: #ffffff;
    border-color: transparent;
}
.surface-navy {
    background-color: var(--navy);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(233, 178, 233, 0.30) 0%, transparent 50%),
        linear-gradient(160deg, #801e80 0%, #471147 100%);
    background-size: 100% 100%, 145% 145%;
    background-position: 0 0, 0% 50%;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.12);
}
.surface-sky {
    background-color: var(--sky);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.55) 0%, transparent 55%),
        linear-gradient(135deg, #f8e6f8 0%, #f1cdf1 100%);
    background-size: 100% 100%, 145% 145%;
    background-position: 0 0, 0% 50%;
    color: #601660;
    border-color: rgba(128, 30, 128, 0.14);
}
.surface-paper {
    background-color: #ffffff;
    background-image: radial-gradient(circle at 100% 0%, rgba(129, 30, 129, 0.08) 0%, transparent 56%);
    color: #601660;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.surface-tint {
    background-color: var(--tint-1);
    background-image: none;
    color: #601660;
    border: 1px solid rgba(128, 30, 128, 0.12);
}
.surface-vivid .apple-card-title,
.surface-navy .apple-card-title {
    color: #ffffff;
}
.surface-vivid .apple-card-meta,
.surface-vivid .apple-card-footnote,
.surface-navy .apple-card-meta,
.surface-navy .apple-card-footnote {
    color: #ffffff;
}
.surface-sky .apple-card-title,
.surface-paper .apple-card-title,
.surface-tint .apple-card-title {
    color: #601660;
}
.surface-sky .apple-card-meta,
.surface-sky .apple-card-footnote,
.surface-tint .apple-card-meta,
.surface-tint .apple-card-footnote {
    color: #5e1e5e;
}

/* ============================================================
   TABLET BREAKPOINTS (641px - 1023px)
============================================================ */
@media (min-width: 641px) {
    .apple-search-wrap {
        width: min(680px, 92vw);
        max-width: 680px;
        margin: -36px auto 0;
    }
    .apple-search-bar {
        height: 72px;
        min-height: 72px;
        padding: 8px 8px 8px 26px;
    }
    .apple-search-input {
        font-size: 18px;
    }
    .apple-search-btn {
        width: auto;
        height: 56px;
        min-height: 56px;
        padding: 0 26px;
        border-radius: var(--apple-radius-pill);
    }
    .apple-search-btn-text {
        display: inline;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.005em;
    }
    .apple-search-btn-icon {
        display: none;
    }
    .apple-chip {
        height: 40px;
        min-height: 40px;
        padding: 0 14px;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0.005em;
    }
    .apple-search-chips-scroller {
        overflow: visible;
        margin: 18px 0 0;
        padding: 0;
    }
    .apple-search-chips-row {
        justify-content: center;
        flex-wrap: wrap;
        width: 100%;
    }
    .apple-stats-panel {
        margin: 56px 0 0;
        width: 100%;
        border-radius: 32px;
        padding: 20px 28px;
    }
    .apple-stats-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .apple-stat-cell {
        container-type: normal;
        min-width: auto;
        padding: 8px 12px 14px;
        border-radius: 20px;
    }
    .apple-stat-cell:nth-child(-n+4) {
        border-bottom: none;
    }
    .apple-stat-cell:nth-child(1),
    .apple-stat-cell:nth-child(3) {
        border-right: none;
    }
    .apple-stat-cell:nth-child(1)::after,
    .apple-stat-cell:nth-child(2)::after,
    .apple-stat-cell:nth-child(3)::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 1px;
        background: rgba(0, 0, 0, 0.08);
        pointer-events: none;
    }
    .apple-stat-cell:nth-child(4),
    .apple-stat-cell:nth-child(5) {
        padding-top: 14px;
        padding-bottom: 6px;
    }
    .apple-stat-cell:nth-child(2)::before,
    .apple-stat-cell:nth-child(3)::before,
    .apple-stat-cell:nth-child(5)::before {
        content: "";
        position: absolute;
        left: 0;
        top: 12%;
        bottom: 12%;
        width: 1px;
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
        pointer-events: none;
    }
    .apple-stat-cell--idm {
        grid-column: span 2;
    }
    .apple-stat-value,
    .apple-idm-head {
        font-size: clamp(40px, 7vw, 56px);
    }
    .apple-stat-label {
        font-size: 14px;
        margin-top: 8px;
    }
    .apple-bento-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }
    .apple-aparatur-layout {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .apple-news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .apple-two-col {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

/* ============================================================
   DESKTOP BREAKPOINTS (≥ 1024px)
============================================================ */
@media (min-width: 1024px) {
    .apple-hero-stage-group {
        padding-top: 44px;
        background: linear-gradient(180deg, #dbe5ea 0%, #dbe5ea 300px, #f5e3f5 500px, #faedfa 680px, var(--page) 860px, var(--page) 100%);
    }
    .apple-ambient-orb--hero-right {
        top: -60px;
        height: 520px;
    }
    .apple-ambient-orb--stats-left {
        top: 210px;
        height: 430px;
    }
    .apple-ambient-orb--stats-right {
        top: 220px;
        height: 450px;
    }
    .apple-ambient-orb--search-center {
        top: 300px;
        height: 350px;
    }
    .apple-main-content {
        font-size: 18px;
        padding-bottom: 0;
    }
    .apple-card-meta,
    .apple-bento-desc,
    .apple-announce-snippet,
    .apple-flow-desc,
    .apple-cta-desc,
    .apple-news-excerpt,
    .apple-app-benefits li {
        font-size: 18px;
    }
    .apple-band {
        padding: 120px 0;
    }
    .apple-band.apple-top-stage {
        padding-top: 0;
        padding-bottom: 96px;
    }
    .apple-container {
        padding: 0 24px;
    }

    /* Headings */
    .apple-section-head {
        margin-bottom: 48px;
    }
    .apple-section-title {
        margin-bottom: 16px;
    }

    /* 1. Pencarian (Bar pill lebar 860px max 92vw, tinggi 72px, overlap -36px) */
    .apple-search-wrap {
        width: min(860px, 92vw);
        max-width: 860px;
        margin: -36px auto 0;
    }
    .apple-search-chips-scroller {
        overflow: visible;
        display: flex;
        justify-content: center;
        margin: 18px -48px 0;
        padding: 0;
    }
    .apple-search-chips-row {
        justify-content: center;
        flex-wrap: nowrap;
        width: max-content;
        gap: 8px;
    }

    /* 2. Statistik (Satu panel ramping 5 kolom, jarak 56px dari chip) */
    .apple-stats-panel {
        max-width: 1120px;
        margin: 56px auto 0;
        padding: 28px 40px;
        border-radius: 32px;
    }
    .apple-stats-row {
        grid-template-columns: 1fr 1fr 1fr 1fr 1.5fr;
        align-items: stretch;
    }
    .apple-stat-cell {
        min-width: auto;
        padding: 8px 12px;
    }
    .apple-stat-cell:nth-child(1)::after,
    .apple-stat-cell:nth-child(2)::after,
    .apple-stat-cell:nth-child(3)::after {
        content: none;
    }
    .apple-stat-cell:nth-child(4),
    .apple-stat-cell:nth-child(5) {
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .apple-stat-cell + .apple-stat-cell::before {
        content: "";
        position: absolute;
        left: 0;
        top: 10%;
        bottom: 10%;
        width: 1px;
        background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
        pointer-events: none;
    }
    .apple-stat-cell--idm {
        grid-column: span 1;
        padding: 8px 16px;
    }
    .apple-stat-value,
    .apple-idm-head {
        font-size: clamp(44px, 4.4vw, 64px);
    }
    .apple-idm-main {
        flex-direction: column;
        gap: 8px;
    }
    .apple-idm-gauge {
        flex: none;
        width: 100%;
        max-width: 210px;
        min-width: 0;
    }

    /* 4. Bento Grid Layanan Publik (12 Kolom tidak seragam: 7+5 / 5+7) */
    .apple-bento-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 20px;
    }
    .apple-span-7 {
        grid-column: span 7;
    }
    .apple-span-5 {
        grid-column: span 5;
    }
    .apple-bento-card {
        padding: 32px;
        border-radius: var(--apple-radius-card);
    }
    .apple-bento-title {
        font-size: 24px;
    }

    /* 5. Pengumuman Resmi (Scroll-snap: 520px, 400px...) */
    .apple-announce-scroller {
        margin: 0 -24px;
        padding: 12px 24px 24px;
    }
    .apple-announce-row {
        gap: 20px;
    }
    .apple-announce-card {
        width: 400px;
        max-width: none;
        padding: 0;
        border-radius: var(--apple-radius-panel);
    }
    .apple-announce-card--hero {
        width: 520px;
    }
    .apple-announce-strip {
        padding: 28px 32px 20px;
    }
    .apple-announce-content {
        padding: 24px 32px 32px;
    }
    .apple-announce-day {
        font-size: 76px;
    }

    /* 6. Layanan Administrasi (3 Alur di atas + Tab Vertikal Kiri 340px sticky) */
    .apple-flow-cards {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        margin-bottom: 40px;
    }
    .apple-flow-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
        border-radius: var(--apple-radius-card);
    }
    .apple-flow-step {
        font-size: 54px;
        margin-bottom: 12px;
    }
    .apple-flow-title {
        font-size: 22px;
    }


    /* 7. APBDES (Navy Panel 48px radius, 24px margins) */
    .apple-apbdes-section {
        padding: 0 24px;
        margin: 120px 0;
    }
    .apple-apbdes-panel {
        border-radius: 48px;
        padding: 72px 56px;
    }
    .apple-apbdes-bento {
        display: grid;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        gap: 20px;
    }
    .apple-apbdes-hero-card {
        grid-column: span 7;
        padding: 36px;
        text-align: left;
    }
    .apple-apbdes-hero-card .apple-rupiah--lg {
        font-size: clamp(24px, calc((100cqi - 248px) / 6.6), 54px);
    }
    .apple-apbdes-ring-row {
        flex-direction: row;
        align-items: center;
        gap: 28px;
        margin-top: 24px;
    }
    .apple-apbdes-side {
        grid-column: span 5;
        gap: 20px;
    }
    .apple-apbdes-side-card {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .apple-apbdes-projects-scroller {
        overflow: visible;
        margin: 28px 0;
        padding: 0;
    }
    .apple-apbdes-projects-row {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        width: 100%;
    }
    .apple-project-dark-card {
        width: auto;
        max-width: none;
        padding: 24px;
    }
    .apple-apbdes-actions {
        flex-direction: row;
        gap: 16px;
    }
    .apple-apbdes-actions .apple-pill-btn {
        width: auto;
    }

    /* 8. Profil & Peta Wilayah (Panel 480px, Radius 40px) */
    .apple-map-container {
        height: 480px;
        border-radius: 40px;
    }
    .apple-map-btn {
        top: 24px;
        right: 24px;
        width: auto;
        height: 46px;
        padding: 0 22px;
        gap: 8px;
    }
    .apple-map-btn-text {
        display: inline;
        font-size: 16px;
        font-weight: 600;
        letter-spacing: 0.005em;
    }
    .apple-map-glass-card {
        left: 24px;
        bottom: 24px;
        right: auto;
        padding: 16px 28px;
        border-radius: 24px;
        gap: 28px;
    }
    .apple-map-stat-num {
        font-size: 32px;
    }

    /* 9. Aparatur (Grid 4 Kolom, Kades 2x2) */
    .apple-aparatur-layout {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }
    .apple-aparatur-card--kades {
        grid-column: span 2;
        grid-row: span 2;
    }
    .apple-aparatur-card--kades .apple-aparatur-portrait {
        aspect-ratio: 1 / 1;
    }
    .apple-aparatur-card--kades .apple-aparatur-name {
        font-size: 26px;
    }
    .apple-aparatur-card-cta {
        grid-column: span 1;
        padding: 28px;
    }

    /* 10-12. Potensi, Berita, Aplikasi */
    .apple-two-col {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }
    .apple-news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }
    .apple-band--app-wrap {
        padding: 48px 24px 96px;
    }
    .apple-app-sheet {
        border-radius: 48px;
        padding: 64px 56px;
    }
    .apple-app-grid {
        display: grid;
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 40px;
        align-items: center;
    }
    .apple-app-card {
        padding: 32px;
        border-radius: var(--apple-radius-panel);
    }
}

/* Mobile (<=640px) & Reduced Motion Guards */
@media (max-width: 640px) {
    .apple-band--app-wrap {
        padding: 28px 12px 56px;
    }
    .apple-app-sheet {
        border-radius: 32px;
        padding: 32px 20px;
    }
    .apple-band-watermark {
        font-size: clamp(5rem, 28vw, 9rem);
        top: 8px;
        right: -6px;
    }
    .apple-band-dots {
        opacity: 0.5;
    }
    .apple-deco-ghost-icon {
        width: 72px;
        height: 72px;
        right: 76px;
        bottom: 8px;
        opacity: 0.08;
    }
    .apple-app-sheet > .apple-deco-ghost-icon {
        width: 76px;
        height: 76px;
        left: auto;
        right: 16px;
        top: 18px;
        bottom: auto;
        opacity: 0.08;
    }
    .apple-service-tablist-wrap {
        border-radius: 24px;
        padding: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .apple-bento-card,
    .apple-bento-circle,
    .apple-aparatur-card-cta,
    .apple-news-card,
    .apple-surface-rings,
    .apple-progress-fill {
        transition: none !important;
        animation: none !important;
    }
    .apple-bento-card:hover,
    .apple-bento-card.surface-navy:hover,
    .apple-bento-card.surface-sky:hover,
    .apple-bento-card:hover .apple-bento-circle,
    .apple-aparatur-card-cta:hover,
    .apple-news-card:hover {
        transform: none !important;
        background-position: inherit !important;
    }
}

/* ============================================================
   INTERIOR PAGES: UNIFIED APPLE COMPONENT PATTERNS
============================================================ */
.apple-pill-btn--lg {
    min-height: 52px;
    padding: 12px 26px;
}
.apple-pill-btn--muted {
    background: #ececf0;
    color: #1d1d1f;
    border: 1px solid transparent;
    box-shadow: none;
}
@media (hover: hover) {
    .apple-pill-btn--muted:hover {
        background: #faeffa;
        color: #801e80;
        border-color: rgba(129, 30, 129, 0.24);
        transform: translateY(-2px);
    }
}

.apple-badge--done {
    background: #ffffff;
    color: #1d1d1f;
    border: 1px solid rgba(31, 157, 85, 0.45);
    gap: 6px;
}
.apple-badge--done::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #1f9d55;
    flex-shrink: 0;
}
.apple-badge--danger {
    background: #ffffff;
    color: #d93025;
    border: 1px solid rgba(217, 48, 37, 0.35);
}

/* Checklists & Prose Lists */
.apple-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.apple-checklist li {
    position: relative;
    padding-left: 28px;
    color: #3f4a5e;
    font-size: 17px;
    line-height: 1.55;
}
.apple-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    background: #faeffa;
    border: 4px solid #811e81;
}

.apple-meta-list {
    display: grid;
    gap: 14px;
    margin: 0;
}
.apple-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
}
.apple-meta-row:last-child {
    padding-bottom: 0;
    border-bottom: none;
}
.apple-meta-row dt {
    font-size: 15px;
    font-weight: 500;
    color: #51607a;
}
.apple-meta-row dd {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #1d1d1f;
    text-align: right;
}

/* Filter Pill Bar */
.apple-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    align-items: center;
}
.apple-chip-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #3f4a5e;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease;
}
.apple-chip-filter:hover {
    background: #faeffa;
    color: #801e80;
    border-color: rgba(129, 30, 129, 0.28);
}
.apple-chip-filter.is-active {
    background: #811e81;
    color: #ffffff;
    border-color: #811e81;
}

/* Accessible Apple Accordion (<details>) */
.apple-accordion-list {
    display: grid;
    gap: 14px;
}
.apple-accordion-item {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -12px rgba(86, 20, 86, 0.12);
    overflow: hidden;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.apple-accordion-item[open] {
    border-color: rgba(129, 30, 129, 0.28);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 20px 40px -12px rgba(86, 20, 86, 0.16);
}
.apple-accordion-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    min-height: 72px;
    cursor: pointer;
    user-select: none;
    list-style: none;
}
.apple-accordion-summary::-webkit-details-marker {
    display: none;
}
.apple-accordion-summary-aside {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.apple-accordion-summary-main {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1 1 auto;
}
.apple-accordion-num {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #faeffa;
    color: #801e80;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.apple-accordion-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(18px, 1.8vw, 22px);
    line-height: 1.25;
    color: #601660;
}
.apple-accordion-chevron {
    color: #811e81;
    flex-shrink: 0;
    transition: transform 200ms ease;
}
.apple-accordion-item[open] .apple-accordion-chevron {
    transform: rotate(180deg);
}
.apple-accordion-body {
    padding: 0 24px 26px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Document Download List */
.apple-doc-list {
    display: grid;
    gap: 14px;
}
.apple-doc-row {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -12px rgba(86, 20, 86, 0.12);
}
.apple-doc-info {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    min-width: 0;
    flex: 1 1 280px;
}
.apple-doc-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    color: #601660;
    margin: 0 0 6px;
}

/* Agenda Cards (Large Barlow Condensed Date) */
.apple-agenda-grid {
    display: grid;
    gap: 16px;
}
.apple-agenda-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    padding: 24px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -12px rgba(86, 20, 86, 0.12);
}
.apple-agenda-date-box {
    min-width: 96px;
    padding: 14px 16px;
    border-radius: 20px;
    background: #faeffa;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.apple-agenda-day {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 40px;
    line-height: 0.95;
    color: #601660;
    font-variant-numeric: tabular-nums;
}
.apple-agenda-month {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: #801e80;
    margin-top: 4px;
}
.apple-agenda-body {
    min-width: 0;
}
@media (max-width: 640px) {
    .apple-agenda-card {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .apple-agenda-date-box {
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        width: fit-content;
    }
}

/* UMKM / Potensi 4:5 Card & Initial Monogram */
.apple-umkm-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
@media (max-width: 1023px) {
    .apple-umkm-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .apple-umkm-grid {
        grid-template-columns: 1fr;
    }
}
.apple-umkm-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 12px 32px -12px rgba(86, 20, 86, 0.12);
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.apple-umkm-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 20px 40px -12px rgba(86, 20, 86, 0.18);
}
.apple-umkm-media {
    position: relative;
    aspect-ratio: 4 / 5;
    background: linear-gradient(155deg, var(--tint-2) 0%, var(--sky) 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.apple-umkm-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.apple-umkm-media .apple-umkm-monogram {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.apple-umkm-copy {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
}
.apple-umkm-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    color: #601660;
    margin: 0;
}

/* Single Blue-Family Visualization Bar (Stacked + Legend) */
.apple-chart-stack {
    display: flex;
    width: 100%;
    height: 14px;
    border-radius: 999px;
    overflow: hidden;
    background: #ececf0;
    gap: 2px;
}
.apple-chart-seg {
    height: 100%;
    position: relative;
}
.apple-chart-seg--1,
.apple-chart-swatch--1 { background: #811e81; }
.apple-chart-seg--2,
.apple-chart-swatch--2 {
    background-color: #c52ec5;
    background-image: radial-gradient(rgba(255, 255, 255, 0.72) 1.5px, transparent 1.5px);
    background-size: 7px 7px;
}
.apple-chart-seg--3,
.apple-chart-swatch--3 {
    background-color: #801e80;
    background-image: radial-gradient(rgba(233, 178, 233, 0.55) 1px, transparent 1.5px);
    background-size: 9px 9px;
}
.apple-chart-seg--4,
.apple-chart-swatch--4 {
    background-color: #f4daf4;
    box-shadow: inset 0 0 0 1px rgba(128, 30, 128, 0.35);
}
.apple-chart-seg--5,
.apple-chart-swatch--5 {
    background-color: #6b7280;
    background-image: radial-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1.5px);
    background-size: 6px 6px;
}
.apple-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-top: 14px;
    font-size: 14px;
    color: #3f4a5e;
}
.apple-chart-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.apple-chart-swatch {
    width: 16px;
    height: 16px;
    border-radius: 5px;
    flex-shrink: 0;
}
.apple-chart-summary.surface-tint {
    background-color: var(--tint-1);
    border-color: rgba(128, 30, 128, 0.12);
}
.apple-chart-summary.surface-tint .apple-chart-stack {
    background: #ffffff;
}

/* Editorial Article Page (<=68ch max measure) */
.apple-article-wrap {
    width: 100%;
    max-width: min(68ch, 100%);
    margin: 0 auto;
}
.apple-page-hero h1.apple-article-title {
    font-size: clamp(2rem, 4.4vw, 3.25rem);
    line-height: 1.04;
}
.apple-article-hero-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 32px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-lg);
    margin-bottom: 32px;
}
.apple-article-body {
    font-size: 18px;
    line-height: 1.7;
    color: #1d1d1f;
}
.apple-article-body p {
    color: #3f4a5e;
    margin: 0 0 1.25em;
}
.apple-article-body h2 {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 600;
    text-transform: none;
    line-height: 1.2;
    color: #601660;
    margin: 1.6em 0 0.6em;
}
.apple-article-body h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: #801e80;
    margin: 1.4em 0 0.5em;
}
.apple-article-body ul,
.apple-article-body ol {
    padding-left: 24px;
    margin: 0 0 1.25em;
    color: #3f4a5e;
}
.apple-article-body li + li {
    margin-top: 8px;
}
.apple-article-body blockquote {
    margin: 28px 0;
    padding: 20px 24px;
    background: #ffffff;
    border-left: 4px solid #811e81;
    border-radius: 0 20px 20px 0;
    color: #601660;
    font-size: 19px;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
}

/* Error Pages (404 / 500) */
.apple-error-stage {
    position: relative;
    overflow: hidden;
    min-height: calc(100dvh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(110px + env(safe-area-inset-top, 0px)) 20px 80px;
    background: linear-gradient(180deg, var(--tint-2) 0%, var(--tint-1) 45%, var(--page) 100%);
    text-align: center;
}
.apple-error-card {
    position: relative;
    z-index: 2;
    max-width: 560px;
    width: 100%;
    background: #ffffff;
    background-image: radial-gradient(circle at 100% 0%, rgba(129, 30, 129, 0.08) 0%, transparent 56%);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 32px;
    padding: 44px 32px;
    box-shadow: var(--shadow-md);
}
.apple-error-card .apple-section-title::after {
    margin-left: auto;
    margin-right: auto;
}
.apple-error-code {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(72px, 16vw, 128px);
    line-height: 0.9;
    color: #f4daf4;
    margin: 0 0 12px;
    font-variant-numeric: tabular-nums;
}
.apple-error-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Split Columns, Notes & Ordered Lists for Profiles & Detail Cards */
.apple-split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    align-items: start;
}
@media (min-width: 900px) {
    .apple-split-layout {
        grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
        gap: 36px;
    }
}
.apple-callout-note {
    margin-top: 22px;
    padding: 20px 24px;
    border-radius: 24px;
    background: #faeffa;
    border-left: 4px solid #811e81;
    color: #601660;
}
.apple-callout-note strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #601660;
    margin-bottom: 6px;
}
.apple-callout-note span {
    display: block;
    font-size: 16px;
    line-height: 1.6;
    color: #801e80;
}
.apple-ordered-list {
    margin: 0;
    padding-left: 22px;
    display: grid;
    gap: 12px;
    color: #3f4a5e;
    font-size: 17px;
    line-height: 1.55;
}
.apple-ordered-list li::marker {
    color: #811e81;
    font-weight: 700;
}
.apple-media-subcard {
    background: var(--page);
    border: 1px solid rgba(128, 30, 128, 0.12);
    border-radius: 24px;
    padding: 22px;
}
.surface-tint .apple-media-subcard {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}
.apple-video-frame {
    aspect-ratio: 16 / 9;
    border-radius: 18px;
    overflow: hidden;
    background: #471147;
    margin-top: 14px;
}
.apple-video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
.apple-audio-player {
    width: 100%;
    margin-top: 14px;
}

/* Interior Page Layout & Form Helpers */
.apple-mb-sm { margin-bottom: 12px; }
.apple-mb-md { margin-bottom: 24px; }
.apple-mt-sm { margin-top: 12px; }
.apple-mt-md { margin-top: 24px; }
.apple-btn-full { width: 100%; }
.apple-alert-list {
    margin: 8px 0 0;
    padding-left: 20px;
}
.apple-accordion-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}
.apple-accordion-section-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #601660;
    margin: 18px 0 6px;
}
.apple-accordion-prose {
    font-size: 16px;
    line-height: 1.6;
    color: #3f4a5e;
    margin: 0;
}
.apple-inline-search {
    display: flex;
    gap: 10px;
    align-items: stretch;
    flex-wrap: wrap;
}
.apple-inline-search .form-input {
    flex: 1 1 200px;
    min-width: 0;
}
.apple-inline-search .button,
.apple-inline-search .apple-pill-btn {
    flex-shrink: 0;
}
.apple-ticket-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.apple-ticket-line {
    margin: 0 0 6px;
    color: #1d1d1f;
    font-size: 16px;
    line-height: 1.5;
}
.apple-ticket-line:last-child {
    margin-bottom: 0;
}
.apple-subdivider {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.apple-stack-sm { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.apple-stack-md { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.apple-link-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}
.apple-log-card {
    padding: 18px 20px;
    border: 1px solid rgba(128, 30, 128, 0.12);
    border-radius: 20px;
    background: var(--page);
}
.surface-tint .apple-log-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}
.apple-log-code {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    color: #801e80;
}
.apple-log-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: #601660;
    margin: 4px 0;
}
.apple-log-meta {
    font-size: 14px;
    color: #51607a;
    margin: 0 0 6px;
}
.apple-card-sub {
    font-size: 16px;
    line-height: 1.55;
    color: #3f4a5e;
    margin: 0 0 18px;
}
h2.apple-card-title,
h3.apple-card-title,
.apple-card-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.2vw, 26px);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #601660;
    margin: 0 0 8px;
    line-height: 1.2;
}
.apple-code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.9em;
    background: #faeffa;
    color: #801e80;
    padding: 2px 8px;
    border-radius: 8px;
}
@media (max-width: 640px) {
    .apple-accordion-summary {
        padding: 18px;
        gap: 12px;
    }
    .apple-accordion-summary-aside .badge {
        display: none;
    }
    .apple-inline-search .button,
    .apple-inline-search .apple-pill-btn {
        width: 100%;
    }
}

/* Group 4 & 5 Helpers (Charts, Docs, Hero Filters, Tables, Search Cards) */
.apple-hero-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.apple-hero-filter-label {
    font-size: 15px;
    font-weight: 600;
    color: #601660;
}
.apple-hero-filter .form-select {
    width: auto;
    min-width: 120px;
    min-height: 46px;
    padding: 8px 14px;
    border-radius: 999px;
}
.apple-table-sub {
    display: block;
    font-size: 14px;
    color: #51607a;
    margin-top: 3px;
}
.apple-table-progress {
    margin-top: 6px;
    min-width: 96px;
}
.apple-doc-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #faeffa;
    color: #811e81;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.apple-doc-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}
.apple-doc-summary {
    font-size: 15px;
    line-height: 1.5;
    color: #3f4a5e;
    margin: 0 0 6px;
}
.apple-doc-meta {
    font-size: 14px;
    color: #51607a;
    margin: 0;
}
.apple-doc-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}
.apple-chart-summary {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 28px;
    padding: 24px 28px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
}
.apple-chart-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.apple-checklist-card {
    background: var(--page);
    border: 1px solid rgba(128, 30, 128, 0.12);
    border-radius: 24px;
    padding: 20px 22px;
}
.surface-tint .apple-checklist-card {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}
.apple-search-item {
    padding: 18px 20px;
    border: 1px solid rgba(128, 30, 128, 0.12);
    border-radius: 20px;
    background: var(--page);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.surface-tint .apple-search-item {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}
.apple-search-item-title {
    display: block;
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 600;
    color: #601660;
    margin: 4px 0 0;
}
.apple-search-item-desc {
    margin: 4px 0 0;
    font-size: 15px;
    line-height: 1.5;
    color: #3f4a5e;
}
.apple-umkm-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}
.apple-agenda-range {
    font-size: 14px;
    color: #801e80;
    font-weight: 600;
    margin-top: 4px;
}
.apple-pill-btn--sm {
    min-height: 44px;
    padding: 8px 18px;
    font-size: 15px;
}
.apple-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: #811e81;
    text-decoration: none;
    transition: color .15s ease, gap .15s ease;
}
.apple-inline-link:hover {
    color: #7d1d7d;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.apple-publisher {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    margin-bottom: 28px;
    background: var(--tint-1);
    border: 1px solid rgba(128, 30, 128, 0.12);
    border-radius: 20px;
}
.apple-publisher img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex-shrink: 0;
}
.apple-publisher strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
    color: #601660;
}
.apple-publisher span {
    display: block;
    font-size: 14px;
    color: #51607a;
}
.apple-agenda-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.apple-agenda-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    font-size: 15px;
    color: #51607a;
    margin-top: 10px;
}
.apple-accordion-item--compact {
    border-radius: 20px;
    margin-top: 14px;
    box-shadow: none;
}
.apple-accordion-item--compact .apple-accordion-summary {
    padding: 14px 18px;
    min-height: 52px;
}
.apple-accordion-item--compact .apple-accordion-body {
    padding: 12px 18px 18px;
    font-size: 15px;
    line-height: 1.6;
    color: #3f4a5e;
}

/* ============================================================
   STAGE 1 SHARED INTERIOR COMPONENTS & TONE EXTENSIONS
   ============================================================ */

/* Interior Cards & Stats on 5 Blue-Family Tones */
.card-surface.surface-paper,
.stat-card.surface-paper,
.apple-doc-row.surface-paper,
.apple-agenda-card.surface-paper,
.apple-umkm-card.surface-paper {
    background-color: #ffffff;
    background-image: radial-gradient(circle at 100% 0%, rgba(129, 30, 129, 0.08) 0%, transparent 56%);
    border-color: var(--hairline);
}
.card-surface.surface-tint,
.stat-card.surface-tint,
.apple-doc-row.surface-tint,
.apple-agenda-card.surface-tint,
.apple-umkm-card.surface-tint {
    background-color: var(--tint-1);
    background-image: none;
    border-color: rgba(128, 30, 128, 0.12);
}
.card-surface.surface-tint .badge-blue,
.apple-doc-row.surface-tint .badge-blue,
.apple-agenda-card.surface-tint .badge-blue,
.apple-umkm-card.surface-tint .badge-blue,
.card-surface.surface-sky .badge-blue,
.apple-doc-row.surface-sky .badge-blue,
.apple-agenda-card.surface-sky .badge-blue,
.apple-umkm-card.surface-sky .badge-blue {
    background: #ffffff;
    color: #601660;
    border: 1px solid rgba(128, 30, 128, 0.14);
}
.card-surface.surface-tint .badge-neutral,
.apple-doc-row.surface-tint .badge-neutral,
.apple-agenda-card.surface-tint .badge-neutral,
.card-surface.surface-sky .badge-neutral {
    background: rgba(255, 255, 255, 0.78);
    color: #601660;
}
.surface-tint .apple-doc-icon,
.surface-sky .apple-doc-icon,
.surface-tint .apple-agenda-date-box,
.surface-sky .apple-agenda-date-box,
.surface-tint .progress-track,
.surface-sky .progress-track {
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(128, 30, 128, 0.14);
}
.surface-sky .card-sub,
.surface-sky .apple-card-sub,
.surface-sky .stat-label,
.surface-sky .stat-meta,
.surface-sky .apple-doc-summary,
.surface-sky .apple-doc-meta,
.surface-sky .apple-agenda-meta-row,
.surface-sky .apple-table-sub,
.surface-sky p,
.surface-tint .apple-card-sub,
.surface-tint .stat-label,
.surface-tint .stat-meta,
.surface-tint .apple-doc-summary,
.surface-tint .apple-doc-meta,
.surface-tint .apple-agenda-meta-row,
.surface-tint .apple-table-sub,
.surface-tint p {
    color: #5e1e5e;
}
.surface-vivid h2,
.surface-vivid h3,
.surface-vivid h4,
.surface-vivid .apple-card-title,
.surface-vivid .apple-doc-title,
.surface-vivid .apple-umkm-title,
.surface-vivid .stat-value,
.surface-vivid .apple-agenda-day,
.surface-vivid .form-label,
.surface-vivid .progress-head strong,
.surface-vivid .progress-head span,
.surface-vivid .apple-accordion-section-title,
.surface-navy h2,
.surface-navy h3,
.surface-navy h4,
.surface-navy .apple-card-title,
.surface-navy .apple-doc-title,
.surface-navy .apple-umkm-title,
.surface-navy .stat-value,
.surface-navy .apple-agenda-day,
.surface-navy .form-label,
.surface-navy .progress-head strong,
.surface-navy .apple-accordion-section-title {
    color: #ffffff;
}
.surface-vivid p,
.surface-vivid li,
.surface-vivid .eyebrow,
.surface-vivid .stat-label,
.surface-vivid .stat-meta,
.surface-vivid .apple-card-sub,
.surface-vivid .form-help,
.surface-vivid .apple-doc-summary,
.surface-vivid .apple-doc-meta,
.surface-vivid .apple-agenda-meta-row,
.surface-vivid .apple-ticket-line,
.surface-vivid .apple-log-meta,
.surface-vivid .apple-agenda-month,
.surface-vivid .apple-agenda-range,
.surface-navy p,
.surface-navy li,
.surface-navy .eyebrow,
.surface-navy .stat-label,
.surface-navy .stat-meta,
.surface-navy .apple-card-sub,
.surface-navy .form-help,
.surface-navy .apple-doc-summary,
.surface-navy .apple-doc-meta,
.surface-navy .apple-agenda-meta-row,
.surface-navy .apple-ticket-line,
.surface-navy .apple-log-meta {
    color: #faeffa;
}
.surface-navy .progress-head span,
.surface-navy .apple-agenda-month,
.surface-navy .apple-agenda-range,
.surface-navy .apple-log-code,
.surface-navy .apple-inline-link {
    color: var(--cyan);
}
.surface-vivid .apple-inline-link {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.surface-vivid .apple-subdivider,
.surface-navy .apple-subdivider {
    border-top-color: rgba(255, 255, 255, 0.16);
}
.surface-vivid .badge-blue,
.surface-vivid .badge-neutral,
.surface-navy .badge-blue,
.surface-navy .badge-neutral {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}
.surface-vivid .progress-track,
.surface-navy .progress-track {
    background: rgba(255, 255, 255, 0.18);
}
.surface-vivid .progress-fill,
.surface-navy .progress-fill {
    background: var(--cyan);
}
.surface-vivid .apple-agenda-date-box,
.surface-navy .apple-agenda-date-box,
.surface-vivid .apple-doc-icon,
.surface-navy .apple-doc-icon {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}
.surface-vivid .button,
.surface-navy .button {
    background: #ffffff;
    color: #601660;
}
.surface-vivid .button:hover,
.surface-navy .button:hover {
    background: var(--tint-1);
    color: #601660;
}
.surface-vivid .button-secondary,
.surface-navy .button-secondary {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.32);
}
.surface-vivid .button-secondary:hover,
.surface-navy .button-secondary:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}
.surface-vivid .apple-pill-btn--outline,
.surface-navy .apple-pill-btn--outline {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.34);
}
.surface-vivid .apple-pill-btn--outline:hover,
.surface-navy .apple-pill-btn--outline:hover {
    background: #ffffff;
    color: #601660;
}
.surface-vivid .apple-pill-btn--primary,
.surface-navy .apple-pill-btn--primary {
    background: #ffffff;
    color: #601660;
}
.surface-vivid .apple-pill-btn--primary:hover,
.surface-navy .apple-pill-btn--primary:hover {
    background: var(--tint-1);
    color: #601660;
}
.surface-navy .alert-box,
.surface-vivid .alert-box {
    color: #1d1d1f;
}
.surface-navy .alert-box p,
.surface-navy .alert-box strong,
.surface-navy .alert-box li,
.surface-vivid .alert-box p,
.surface-vivid .alert-box strong,
.surface-vivid .alert-box li {
    color: inherit;
}
.surface-vivid .lead,
.surface-navy .lead,
.surface-vivid .apple-meta-row dd,
.surface-navy .apple-meta-row dd {
    color: #ffffff;
}
.surface-vivid .apple-meta-row dt,
.surface-navy .apple-meta-row dt {
    color: rgba(255, 255, 255, 0.85);
}
.surface-vivid .apple-meta-row,
.surface-navy .apple-meta-row {
    border-bottom-color: rgba(255, 255, 255, 0.16);
}
.surface-vivid .apple-ordered-list,
.surface-navy .apple-ordered-list {
    color: #faeffa;
}
.surface-vivid .apple-ordered-list li::marker,
.surface-navy .apple-ordered-list li::marker {
    color: var(--cyan);
}
.surface-vivid .apple-badge--blue,
.surface-navy .apple-badge--blue {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}
.surface-tint .apple-ordered-list {
    color: #5e1e5e;
}
.surface-tint .apple-meta-row dt {
    color: #3f4a5e;
}
.surface-tint .apple-pill-btn--muted {
    background: #ffffff;
    color: #601660;
    border-color: rgba(128, 30, 128, 0.16);
}
.apple-aparatur-card--staff.surface-tint {
    background-color: var(--tint-1);
    background-image: none;
    border-color: rgba(128, 30, 128, 0.14);
}
.apple-aparatur-card--staff.surface-tint .apple-aparatur-portrait {
    background: #ffffff;
}
.surface-navy .civic-table,
.surface-vivid .civic-table {
    color: #1d1d1f;
}
.surface-navy .apple-code,
.surface-vivid .apple-code {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}
.surface-navy .apple-checklist-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}
.surface-navy .apple-checklist li {
    color: #faeffa;
}
.surface-navy .apple-checklist li::before {
    background: var(--cyan);
    border-color: rgba(255, 255, 255, 0.35);
}
.apple-navy-panel > .apple-section-head .apple-eyebrow,
.apple-navy-panel > .apple-section-head .eyebrow {
    color: var(--cyan);
    font-weight: 600;
}
.apple-navy-panel > .apple-section-head .apple-section-title {
    color: #ffffff;
}
.apple-navy-panel > .apple-section-head .apple-section-sub,
.apple-navy-panel > .apple-section-head .apple-section-lead,
.apple-navy-panel > .apple-section-head .apple-section-desc {
    color: #faeffa;
}

/* Accordion Rail (--tint-1 track + Vivid Gradient Strip on Open) */
.apple-accordion-rail {
    background: var(--tint-1);
    border: 1px solid rgba(128, 30, 128, 0.12);
    border-radius: 32px;
    padding: 16px;
}
.apple-accordion-rail .apple-accordion-item {
    border-color: rgba(128, 30, 128, 0.10);
}
.apple-accordion-rail .apple-accordion-item[open] > .apple-accordion-summary {
    background: linear-gradient(135deg, #811e81 0%, #7c1d7c 55%, #801e80 100%);
    color: #ffffff;
}
.apple-accordion-rail .apple-accordion-item[open] > .apple-accordion-summary .apple-accordion-title,
.apple-accordion-rail .apple-accordion-item[open] > .apple-accordion-summary .apple-accordion-chevron {
    color: #ffffff;
}
.apple-accordion-rail .apple-accordion-item[open] > .apple-accordion-summary .apple-accordion-num {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}
.apple-accordion-rail .apple-accordion-item[open] > .apple-accordion-summary .badge {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border-color: transparent;
}
.apple-accordion-rail .apple-accordion-body {
    padding-top: 20px;
}
@media (min-width: 768px) {
    .apple-accordion-rail {
        padding: 22px;
    }
}

/* Navy Emphasis Block for Data & Budget Sections */
.apple-navy-panel {
    background-color: var(--navy);
    background-image:
        radial-gradient(circle at 100% 0%, rgba(233, 178, 233, 0.30) 0%, transparent 50%),
        linear-gradient(160deg, #801e80 0%, #471147 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-radius: 32px;
    padding: 28px 22px;
    box-shadow: var(--shadow-lg);
}
@media (min-width: 768px) {
    .apple-navy-panel {
        padding: 36px;
    }
}
.apple-navy-panel .card-surface.surface-paper {
    color: #1d1d1f;
}
.apple-navy-panel .card-surface.surface-paper h3,
.apple-navy-panel .card-surface.surface-paper .apple-card-title,
.apple-navy-panel .card-surface.surface-paper .stat-value {
    color: #601660;
}
.apple-navy-panel .card-surface.surface-paper p,
.apple-navy-panel .card-surface.surface-paper li,
.apple-navy-panel .card-surface.surface-paper .stat-label,
.apple-navy-panel .card-surface.surface-paper .stat-meta,
.apple-navy-panel .card-surface.surface-paper .apple-card-sub {
    color: #3f4a5e;
}
.apple-navy-panel .card-surface.surface-paper .progress-head strong {
    color: #1d1d1f;
}
.apple-navy-panel .card-surface.surface-paper .progress-head span {
    color: #801e80;
}
.apple-navy-panel .card-surface.surface-paper .progress-track {
    background: #ececf0;
}
.apple-navy-panel .card-surface.surface-paper .progress-fill {
    background: #811e81;
}
.apple-navy-panel .card-surface.surface-paper .button {
    background: #811e81;
    color: #ffffff;
}
.apple-navy-panel .card-surface.surface-paper .button:hover {
    background: #7d1d7d;
    color: #ffffff;
}
.surface-vivid .apple-app-card.surface-paper,
.surface-vivid .apple-app-card.surface-paper .apple-accordion-item {
    color: var(--ink);
}
.surface-vivid .apple-app-card.surface-paper strong,
.surface-vivid .apple-app-card.surface-paper .apple-accordion-title,
.surface-vivid .apple-app-card.surface-paper dd {
    color: #601660;
}
.surface-vivid .apple-app-card.surface-paper p,
.surface-vivid .apple-app-card.surface-paper li,
.surface-vivid .apple-app-card.surface-paper dt,
.surface-vivid .apple-app-card.surface-paper .apple-doc-meta,
.surface-vivid .apple-app-card.surface-paper .apple-accordion-prose,
.surface-vivid .apple-app-card.surface-paper .apple-ordered-list {
    color: #3f4a5e;
}
.surface-vivid .apple-app-card.surface-paper .apple-ordered-list li::marker,
.surface-vivid .apple-app-card.surface-paper .apple-accordion-chevron {
    color: #811e81;
}
.surface-vivid .apple-app-card.surface-paper .apple-badge--blue {
    background: var(--tint-1);
    color: var(--blue-mid);
}
.surface-vivid .apple-app-card.surface-paper .apple-pill-btn--primary {
    background: #811e81;
    color: #ffffff;
}
.surface-vivid .apple-app-card.surface-paper .apple-pill-btn--primary:hover {
    background: #7d1d7d;
    color: #ffffff;
}

/* Mobile Table Scroll Hint */
.table-scroll-wrap {
    display: block;
}
.apple-table-scroll-hint {
    display: none;
}
@media (max-width: 767px) {
    .apple-table-scroll-hint {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 12px;
        border-radius: 999px;
        background: var(--tint-1);
        color: #801e80;
        border: 1px solid rgba(128, 30, 128, 0.14);
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 10px;
    }
    .surface-navy .apple-table-scroll-hint,
    .surface-vivid .apple-table-scroll-hint {
        background: rgba(255, 255, 255, 0.16);
        color: #ffffff;
        border-color: rgba(255, 255, 255, 0.24);
    }
}

/* UMKM 4/5 Monogram Fallback */
.apple-umkm-monogram {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: linear-gradient(135deg, #f1cdf1 0%, #811e81 100%);
    color: #ffffff;
    text-align: center;
}
.apple-umkm-initials {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(3rem, 5vw, 4.25rem);
    line-height: 0.9;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
}
.apple-umkm-monogram-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: #601660;
    font-size: 13px;
    font-weight: 600;
}

/* Chart Swatch & Non-Color Percent Labels */
.apple-chart-pct {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
    color: #801e80;
    font-variant-numeric: tabular-nums;
}
.surface-tint .apple-chart-legend,
.surface-paper .apple-chart-legend {
    color: #5e1e5e;
}

/* Standalone Staff Login Page (.apple-login-*) */
.apple-login-body {
    margin: 0;
    min-height: 100dvh;
    position: relative;
    overflow-x: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background: linear-gradient(180deg, var(--tint-2) 0%, var(--tint-1) 42%, var(--page) 100%);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}
.apple-login-stage-deco {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}
.apple-login-card {
    position: relative;
    z-index: 1;
    width: min(460px, 100%);
    background-color: #ffffff;
    background-image: radial-gradient(circle at 100% 0%, rgba(129, 30, 129, 0.08) 0%, transparent 56%);
    border: 1px solid var(--hairline);
    border-radius: 32px;
    padding: 36px 28px 32px;
    box-shadow: var(--shadow-lg);
}
@media (min-width: 640px) {
    .apple-login-card {
        padding: 40px 36px 36px;
    }
}
.apple-login-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px 6px 8px;
    background: var(--tint-1);
    border: 1px solid rgba(128, 30, 128, 0.12);
    border-radius: 999px;
    margin-bottom: 18px;
}
.apple-login-brand img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.apple-login-brand span {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: #601660;
}
.apple-login-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.1rem, 5vw, 2.75rem);
    line-height: 0.96;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #601660;
    margin: 0 0 12px;
}
.apple-login-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-top: 12px;
    border-radius: 999px;
    background: var(--amber);
}
.apple-login-sub {
    margin: 0 0 24px;
    color: #3f4a5e;
    font-size: 16px;
    line-height: 1.55;
}
.apple-login-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #3f4a5e;
    margin: 2px 0 22px;
    min-height: 44px;
    cursor: pointer;
}
.apple-login-check input {
    width: 18px;
    height: 18px;
    accent-color: #811e81;
}
.apple-login-footer {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.apple-login-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    font-size: 15px;
    font-weight: 600;
    color: #811e81;
    text-decoration: none;
}
.apple-login-back:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.apple-login-meta {
    font-size: 13px;
    font-weight: 500;
    color: #51607a;
}
