:root {
    --ri-red: #ED1C24;
    --ri-red-dark: #BE1118;
    --ri-red-deep: #8D0A10;
    --ri-white: #FFFFFF;
    --ri-black: #000000;
    --ink: #161616;
    --muted: #696969;
    --surface: #FFFFFF;
    --surface-soft: #F7F7F7;
    --line: rgba(0, 0, 0, 0.09);
    --shadow: 0 24px 70px rgba(89, 0, 4, 0.14);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--ri-white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    text-decoration: none;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    color: #fff;
    background: #000;
    border-radius: 10px;
    transform: translateY(-160%);
    transition: transform .2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

.landing-shell {
    position: relative;
    min-height: 100svh;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(circle at 78% 8%, rgba(237, 28, 36, .11), transparent 28%),
        linear-gradient(112deg, #fff 0 55%, #fff7f7 55% 100%);
}

.landing-shell::before {
    position: absolute;
    z-index: -3;
    top: -22%;
    right: -8%;
    width: min(52vw, 780px);
    aspect-ratio: 1;
    content: "";
    border: 76px solid rgba(237, 28, 36, .055);
    border-radius: 50%;
}

.landing-shell::after {
    position: absolute;
    z-index: -2;
    right: -10vw;
    bottom: -19vw;
    width: 48vw;
    height: 48vw;
    min-width: 520px;
    min-height: 520px;
    content: "";
    border-radius: 42% 58% 58% 42% / 47% 45% 55% 53%;
    background: var(--ri-red);
    transform: rotate(-16deg);
    box-shadow: inset 55px 40px 0 rgba(255,255,255,.08);
}

.top-stripe {
    height: 6px;
    background: linear-gradient(90deg, var(--ri-red) 0 78%, var(--ri-white) 78% 100%);
}

.navbar-hut {
    position: relative;
    z-index: 50;
    min-height: 78px;
    padding: 12px 0;
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(0,0,0,.055);
    backdrop-filter: blur(14px);
}

.sitangkas-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
}

.city-logo {
    display: block;
    flex: 0 0 auto;
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.brand-divider {
    display: block;
    flex: 0 0 1px;
    width: 1px;
    height: 42px;
    background: rgba(0, 0, 0, .13);
}

.application-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-symbol {
    position: relative;
    display: grid;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    background: var(--ri-red);
    border-radius: 14px 14px 14px 4px;
    box-shadow: 0 10px 22px rgba(237, 28, 36, .22);
}

.brand-symbol::after {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 14px;
    height: 14px;
    content: "";
    background: var(--ri-black);
    border: 3px solid #fff;
    border-radius: 50%;
}

.brand-symbol i {
    font-size: 21px;
}

.brand-name {
    display: block;
    font-size: 1.18rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: .04em;
}

.brand-caption {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.navbar-hut .nav-link {
    position: relative;
    color: #3d3d3d;
    font-size: .9rem;
    font-weight: 700;
}

.navbar-hut .nav-link::after {
    position: absolute;
    right: .5rem;
    bottom: .25rem;
    left: .5rem;
    height: 2px;
    content: "";
    background: var(--ri-red);
    border-radius: 99px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .2s ease;
}

.navbar-hut .nav-link:hover,
.navbar-hut .nav-link:focus {
    color: var(--ri-red);
}

.navbar-hut .nav-link:hover::after,
.navbar-hut .nav-link:focus::after {
    transform: scaleX(1);
}

.hut-mini-logo {
    width: 122px;
    height: 52px;
    object-fit: contain;
}

.btn-ri {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 19px;
    color: #fff;
    background: var(--ri-red);
    border: 1px solid var(--ri-red);
    border-radius: 14px;
    font-size: .9rem;
    font-weight: 800;
    box-shadow: 0 11px 25px rgba(237, 28, 36, .19);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn-ri:hover,
.btn-ri:focus-visible {
    color: #fff;
    background: var(--ri-red-dark);
    border-color: var(--ri-red-dark);
    box-shadow: 0 14px 32px rgba(190, 17, 24, .25);
    transform: translateY(-2px);
}

.btn-outline-ri {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 11px 19px;
    color: var(--ink);
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 14px;
    font-size: .9rem;
    font-weight: 800;
    transition: transform .2s ease, border-color .2s ease, color .2s ease;
}

.btn-outline-ri:hover,
.btn-outline-ri:focus-visible {
    color: var(--ri-red);
    border-color: var(--ri-red);
    transform: translateY(-2px);
}

.hero {
    position: relative;
    z-index: 2;
    display: flex;
    min-height: calc(100svh - 84px);
    align-items: center;
    padding: 34px 0 26px;
}

.hero-copy {
    position: relative;
    z-index: 4;
}

.independence-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 13px 8px 9px;
    color: #7c0c11;
    background: #fff0f0;
    border: 1px solid rgba(237, 28, 36, .17);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.independence-pill .flag-dot {
    position: relative;
    width: 28px;
    height: 28px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 50%;
    box-shadow: 0 5px 12px rgba(0,0,0,.08);
}

.independence-pill .flag-dot::before {
    position: absolute;
    inset: 0 0 50% 0;
    content: "";
    background: var(--ri-red);
}

.hero-title {
    max-width: 760px;
    margin: 18px 0 14px;
    font-size: clamp(3.5rem, 6.4vw, 6.8rem);
    font-weight: 950;
    line-height: .84;
    letter-spacing: -.075em;
}

.hero-title .red {
    color: var(--ri-red);
}

.hero-subtitle {
    max-width: 660px;
    margin-bottom: 12px;
    color: #242424;
    font-size: clamp(1.08rem, 1.65vw, 1.48rem);
    font-weight: 800;
    line-height: 1.28;
}

.hero-description {
    max-width: 670px;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: .98rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
    margin-bottom: 22px;
}

.feature-row {
    display: grid;
    max-width: 790px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.mini-feature {
    min-height: 98px;
    padding: 13px;
    background: rgba(255,255,255,.84);
    border: 1px solid var(--line);
    border-radius: 17px;
    box-shadow: 0 13px 35px rgba(0,0,0,.055);
    backdrop-filter: blur(10px);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.mini-feature:hover {
    border-color: rgba(237, 28, 36, .24);
    box-shadow: 0 15px 38px rgba(89, 0, 4, .09);
    transform: translateY(-3px);
}

.mini-feature i {
    display: grid;
    width: 34px;
    height: 34px;
    margin-bottom: 9px;
    place-items: center;
    color: var(--ri-red);
    background: #fff0f0;
    border-radius: 10px;
    font-size: 1rem;
}

.mini-feature strong {
    display: block;
    font-size: .8rem;
    line-height: 1.25;
}

.mini-feature span {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: .67rem;
    line-height: 1.3;
}

.hero-visual {
    position: relative;
    z-index: 3;
    display: flex;
    min-height: 555px;
    align-items: center;
    justify-content: center;
}

.hut-logo-card {
    position: absolute;
    z-index: 4;
    top: 0;
    right: 8%;
    display: flex;
    width: 245px;
    min-height: 96px;
    align-items: center;
    padding: 8px 17px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(0,0,0,.07);
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(60,0,3,.13);
    transform: rotate(1.5deg);
}

.hut-logo-card img {
    width: 100%;
    max-height: 88px;
    object-fit: contain;
}

.dashboard-card {
    position: relative;
    z-index: 3;
    width: min(100%, 560px);
    padding: 18px;
    overflow: hidden;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    transform: perspective(1200px) rotateY(-7deg) rotateX(2deg) rotateZ(1deg);
}

.dashboard-card::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 7px;
    content: "";
    background: var(--ri-red);
    border-radius: 0 0 0 999px;
}

.dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 3px 15px;
}

.dashboard-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .8rem;
    font-weight: 900;
}

.dashboard-brand .mini-mark {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    color: #fff;
    background: var(--ri-red);
    border-radius: 9px;
}

.illustration-label {
    padding: 6px 9px;
    color: #5f5f5f;
    background: #f3f3f3;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 800;
    text-transform: uppercase;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 12px;
}

.panel {
    padding: 15px;
    background: #fafafa;
    border: 1px solid rgba(0,0,0,.055);
    border-radius: 19px;
}

.panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
    font-size: .75rem;
    font-weight: 900;
}

.flow-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    padding-bottom: 16px;
}

.flow-item:last-child {
    padding-bottom: 0;
}

.flow-item:not(:last-child)::after {
    position: absolute;
    top: 33px;
    bottom: 3px;
    left: 15px;
    width: 2px;
    content: "";
    background: linear-gradient(var(--ri-red), rgba(237,28,36,.14));
}

.flow-icon {
    position: relative;
    z-index: 2;
    display: grid;
    flex: 0 0 31px;
    width: 31px;
    height: 31px;
    place-items: center;
    color: var(--ri-red);
    background: #fff;
    border: 1px solid rgba(237,28,36,.18);
    border-radius: 10px;
    font-size: .8rem;
}

.flow-copy strong {
    display: block;
    font-size: .72rem;
}

.flow-copy span {
    display: block;
    margin-top: 2px;
    color: #7c7c7c;
    font-size: .62rem;
}

.status-card {
    margin-bottom: 9px;
    padding: 11px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.055);
    border-radius: 14px;
}

.status-card:last-child {
    margin-bottom: 0;
}

.status-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 9px;
    font-size: .66rem;
    font-weight: 850;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--ri-red);
    border-radius: 50%;
    box-shadow: 0 0 0 5px rgba(237,28,36,.1);
}

.progress-thin {
    height: 6px;
    overflow: hidden;
    background: #efefef;
    border-radius: 999px;
}

.progress-thin span {
    display: block;
    height: 100%;
    background: var(--ri-red);
    border-radius: inherit;
}

.document-table {
    margin-top: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,.055);
    border-radius: 17px;
}

.doc-row {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) .8fr .72fr;
    align-items: center;
    gap: 8px;
    padding: 8px 4px;
    border-bottom: 1px solid #f0f0f0;
    font-size: .62rem;
}

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

.doc-name {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.doc-name span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.doc-name i {
    color: var(--ri-red);
}

.status-badge {
    justify-self: start;
    padding: 5px 7px;
    color: #8b1015;
    background: #fff0f0;
    border-radius: 999px;
    font-size: .55rem;
    font-weight: 850;
}

.float-badge {
    position: absolute;
    z-index: 5;
    right: 1%;
    bottom: 9%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    color: #fff;
    background: #0c0c0c;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 16px;
    box-shadow: 0 17px 32px rgba(0,0,0,.21);
    transform: rotate(-3deg);
}

.float-badge i {
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    color: #fff;
    background: var(--ri-red);
    border-radius: 10px;
}

.float-badge strong {
    display: block;
    font-size: .74rem;
}

.float-badge span {
    display: block;
    color: #cfcfcf;
    font-size: .58rem;
}

.hero-number {
    position: absolute;
    z-index: 1;
    right: -2%;
    bottom: 2%;
    color: rgba(255,255,255,.2);
    font-size: clamp(10rem, 17vw, 18rem);
    font-weight: 950;
    line-height: .8;
    letter-spacing: -.11em;
    pointer-events: none;
    user-select: none;
}

.footnote {
    position: absolute;
    z-index: 6;
    right: 0;
    bottom: 11px;
    left: 0;
    color: #5f5f5f;
    font-size: .68rem;
}

.footnote-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.footnote strong {
    color: #272727;
}

.independence-tagline {
    color: #fff;
    font-weight: 800;
    text-shadow: 0 2px 9px rgba(0,0,0,.15);
}

.modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 25px;
    box-shadow: 0 30px 90px rgba(0,0,0,.24);
}

.modal-header {
    padding: 20px 22px;
    color: #fff;
    background: var(--ri-red);
    border-bottom: 0;
}

.modal-body {
    padding: 24px;
}

.info-list {
    display: grid;
    gap: 12px;
}

.info-item {
    display: flex;
    gap: 12px;
    padding: 13px;
    background: #fafafa;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 16px;
}

.info-item i {
    display: grid;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--ri-red);
    background: #fff0f0;
    border-radius: 11px;
}

.info-item strong {
    display: block;
    margin-bottom: 2px;
    font-size: .86rem;
}

.info-item p {
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.55;
}

@media (max-width: 1199.98px) {
    .hero-title {
        font-size: clamp(3.4rem, 7.3vw, 5.3rem);
    }

    .dashboard-card {
        transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
    }

    .hero-visual {
        min-height: 500px;
    }

    .hut-logo-card {
        right: 2%;
        width: 210px;
    }
}

@media (max-width: 991.98px) {
    .landing-shell {
        overflow: hidden;
        background: linear-gradient(180deg, #fff 0 65%, #fff6f6 100%);
    }

    .landing-shell::after {
        right: -230px;
        bottom: -170px;
        width: 620px;
        height: 620px;
    }

    .navbar-hut {
        min-height: auto;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 14px;
        background: #fff;
        border: 1px solid rgba(0,0,0,.07);
        border-radius: 18px;
        box-shadow: 0 16px 45px rgba(0,0,0,.1);
    }

    .hero {
        min-height: auto;
        padding: 52px 0 95px;
    }

    .hero-visual {
        min-height: 590px;
        margin-top: 34px;
    }

    .dashboard-card {
        width: min(92%, 600px);
        transform: none;
    }

    .hut-logo-card {
        top: -10px;
        right: 0;
    }

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

    .footnote {
        position: relative;
        padding: 18px 0;
        background: #111;
        color: #ccc;
    }

    .footnote strong {
        color: #fff;
    }

    .independence-tagline {
        color: #fff;
    }
}

@media (max-width: 767.98px) {
    .top-stripe {
        height: 5px;
    }

    .city-logo {
        width: 43px;
        height: 43px;
    }

    .brand-divider {
        height: 34px;
    }

    .application-brand {
        gap: 8px;
    }

    .brand-caption {
        display: none;
    }

    .brand-name {
        font-size: 1.02rem;
    }

    .brand-symbol {
        width: 38px;
        height: 38px;
        border-radius: 12px 12px 12px 4px;
    }

    .hut-mini-logo {
        display: none;
    }

    .hero {
        padding-top: 36px;
    }

    .hero-title {
        margin-top: 15px;
        font-size: clamp(3.1rem, 17vw, 4.7rem);
        line-height: .88;
    }

    .hero-description {
        font-size: .91rem;
    }

    .hero-actions > * {
        flex: 1 1 180px;
    }

    .hero-visual {
        min-height: 520px;
    }

    .dashboard-card {
        width: 100%;
        padding: 13px;
        border-radius: 24px;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .panel:nth-child(2) {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 7px;
    }

    .panel:nth-child(2) .panel-title {
        grid-column: 1 / -1;
    }

    .status-card {
        margin-bottom: 0;
        padding: 9px;
    }

    .status-head {
        display: block;
    }

    .status-dot {
        display: none;
    }

    .doc-row {
        grid-template-columns: minmax(0, 1.4fr) .8fr;
    }

    .doc-row > :last-child {
        display: none;
    }

    .hut-logo-card {
        z-index: 5;
        top: -30px;
        right: 4px;
        width: 170px;
        min-height: 78px;
        padding: 5px 11px;
        border-radius: 17px;
    }

    .float-badge {
        right: 0;
        bottom: -38px;
    }

    .hero-number {
        right: -30px;
        bottom: -38px;
    }

    .footnote-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 479.98px) {
    .sitangkas-brand {
        gap: 7px;
    }

    .city-logo {
        width: 38px;
        height: 38px;
    }

    .brand-divider {
        height: 30px;
    }

    .brand-symbol {
        width: 34px;
        height: 34px;
    }

    .brand-symbol i {
        font-size: 17px;
    }

    .brand-name {
        font-size: .92rem;
    }
    .independence-pill {
        font-size: .65rem;
    }

    .feature-row {
        grid-template-columns: 1fr 1fr;
    }

    .mini-feature {
        min-height: 104px;
    }

    .panel:nth-child(2) {
        grid-template-columns: 1fr;
    }

    .status-card:nth-of-type(3) {
        display: none;
    }

    .hero-visual {
        min-height: 560px;
    }
}

@media (max-height: 780px) and (min-width: 992px) {
    .hero {
        padding-top: 20px;
        padding-bottom: 38px;
    }

    .hero-title {
        margin-top: 13px;
        font-size: clamp(3.35rem, 5.9vw, 5.65rem);
    }

    .hero-description {
        margin-bottom: 16px;
        line-height: 1.55;
    }

    .hero-actions {
        margin-bottom: 16px;
    }

    .mini-feature {
        min-height: 88px;
        padding: 11px;
    }

    .mini-feature i {
        width: 30px;
        height: 30px;
        margin-bottom: 6px;
    }

    .hero-visual {
        min-height: 500px;
    }

    .dashboard-card {
        max-width: 520px;
        padding: 14px;
    }

    .hut-logo-card {
        width: 212px;
        min-height: 80px;
    }

    .panel {
        padding: 12px;
    }

    .flow-item {
        padding-bottom: 11px;
    }

    .document-table {
        margin-top: 9px;
        padding: 9px;
    }

    .doc-row {
        padding: 6px 3px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
