/* =========================================================
   SIWARGA RT — design system
   Ditulis tanpa build step agar aman di shared hosting.
   ========================================================= */

:root {
    --bg: #f5f8f7;
    --bg-deep: #eef3f1;
    --surface: #ffffff;
    --surface-2: #f8faf9;
    --ink: #102420;
    --ink-soft: #334a44;
    --muted: #6b7f79;
    --line: #e2eae7;
    --line-strong: #cfdad6;
    --primary: #0f766e;
    --primary-dark: #0b5b55;
    --primary-soft: #e6f6f3;
    --primary-ink: #0d5c55;
    --teal: #14b8a6;
    --amber: #d97706;
    --amber-soft: #fef3c7;
    --danger: #c2410c;
    --danger-soft: #fef2f2;
    --info: #2563eb;
    --info-soft: #eff6ff;
    --sidebar: #0a2f2a;
    --sidebar-2: #0e3b35;
    --radius: 18px;
    --radius-sm: 12px;
    --radius-xs: 9px;
    --shadow-sm: 0 1px 2px rgba(16, 36, 32, .05);
    --shadow: 0 10px 30px -18px rgba(16, 36, 32, .35);
    --shadow-lg: 0 24px 60px -30px rgba(16, 36, 32, .45);
    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --mono: "Cascadia Mono", "SFMono-Regular", Consolas, monospace;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font);
    font-size: 14.5px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    margin: 0;
    line-height: 1.25;
    letter-spacing: -0.015em;
    font-weight: 700;
}

p {
    margin: 0;
}

a {
    color: var(--primary);
    text-decoration: none;
}

a:hover {
    color: var(--primary-dark);
}

img, svg {
    display: block;
    max-width: 100%;
}

input, select, textarea, button {
    font: inherit;
    color: inherit;
}

/* ---------- shell ---------- */

.app {
    min-height: 100vh;
}

.sidebar {
    position: fixed;
    inset-block: 0;
    left: 0;
    width: 268px;
    z-index: 60;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 16px 18px;
    color: #d9eae6;
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(20, 184, 166, .22), transparent 55%),
        linear-gradient(180deg, var(--sidebar) 0%, var(--sidebar-2) 100%);
    border-right: 1px solid rgba(255, 255, 255, .05);
    overflow-y: auto;
    scrollbar-width: thin;
}

.sidebar__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 8px 18px;
    color: #fff;
}

.sidebar__brand:hover {
    color: #fff;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    background: linear-gradient(145deg, #2dd4bf, #0f766e);
    color: #052e2a;
    box-shadow: 0 10px 24px -12px rgba(45, 212, 191, .9);
}

.brand-mark svg {
    width: 24px;
    height: 24px;
}

.brand-name {
    display: block;
    font-size: 15.5px;
    font-weight: 800;
    letter-spacing: .04em;
}

.brand-sub {
    display: block;
    font-size: 11.5px;
    color: #8fb8b1;
    letter-spacing: .02em;
}

.sidebar__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.nav-section {
    margin: 16px 10px 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6f9b94;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 11px;
    color: #c4dcd7;
    font-weight: 550;
    font-size: 13.7px;
    transition: background .16s ease, color .16s ease, transform .16s ease;
}

.nav-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    opacity: .85;
}

.nav-link:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.nav-link.is-active {
    background: linear-gradient(100deg, rgba(45, 212, 191, .22), rgba(45, 212, 191, .08));
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(45, 212, 191, .25);
}

.nav-link.is-active svg {
    opacity: 1;
    color: #5eead4;
}

.nav-badge {
    margin-left: auto;
    font-size: 10.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 99px;
    background: rgba(94, 234, 212, .18);
    color: #99f6e4;
}

.sidebar__foot {
    margin-top: 14px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .07);
    font-size: 12px;
    color: #a8c7c1;
}

.sidebar__foot strong {
    display: block;
    color: #fff;
    font-size: 12.8px;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(7, 26, 23, .45);
    backdrop-filter: blur(2px);
}

.main {
    min-height: 100vh;
    margin-left: 268px;
    display: flex;
    flex-direction: column;
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 13px 26px;
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}

.topbar__menu {
    display: none;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 11px;
    background: var(--surface);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.topbar__search {
    position: relative;
    flex: 1;
    max-width: 460px;
}

.topbar__search svg {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    color: var(--muted);
}

.topbar__search input {
    width: 100%;
    padding: 10px 14px 10px 39px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: var(--surface-2);
    font-size: 13.5px;
    transition: border-color .15s, box-shadow .15s, background .15s;
}

.topbar__search input:focus {
    outline: none;
    border-color: #86d9ce;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, .12);
}

.topbar__spacer {
    flex: 1;
}

.quick-add {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 11px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    box-shadow: 0 12px 24px -14px rgba(15, 118, 110, .9);
}

.quick-add:hover {
    background: var(--primary-dark);
    color: #fff;
}

.quick-add svg {
    width: 16px;
    height: 16px;
}

.user-chip {
    position: relative;
}

.user-chip > summary {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 8px 5px 5px;
    border-radius: 12px;
    cursor: pointer;
    border: 1px solid transparent;
}

.user-chip > summary::-webkit-details-marker {
    display: none;
}

.user-chip > summary:hover {
    background: var(--surface-2);
    border-color: var(--line);
}

.avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--primary-soft);
    color: var(--primary-ink);
    font-weight: 800;
    font-size: 12.5px;
    letter-spacing: .02em;
}

.avatar--sm {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 11px;
}

.user-chip__name {
    font-size: 13px;
    font-weight: 650;
    line-height: 1.2;
}

.user-chip__role {
    font-size: 11px;
    color: var(--muted);
}

.user-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    padding: 8px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    z-index: 50;
}

.user-menu a,
.user-menu button {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 9px;
    background: none;
    text-align: left;
    font-size: 13px;
    color: var(--ink-soft);
    cursor: pointer;
}

.user-menu a:hover,
.user-menu button:hover {
    background: var(--surface-2);
    color: var(--ink);
}

.user-menu__meta {
    padding: 8px 10px 10px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 6px;
}

.user-menu__meta strong {
    display: block;
    font-size: 13px;
}

.user-menu__meta span {
    font-size: 11.5px;
    color: var(--muted);
}

.content {
    width: 100%;
    max-width: 1480px;
    margin: 0 auto;
    padding: 26px 26px 56px;
}

.site-foot {
    margin-top: auto;
    padding: 18px 26px 26px;
    color: var(--muted);
    font-size: 11.5px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* ---------- page head ---------- */

.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 7px;
}

.eyebrow::before {
    content: "";
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--teal);
}

.page-title {
    font-size: clamp(23px, 2.4vw, 30px);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.page-sub {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13.5px;
    max-width: 70ch;
}

.page-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

/* ---------- grid & cards ---------- */

.grid {
    display: grid;
    gap: 18px;
}

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

.grid--split {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    align-items: start;
}

.grid--halves {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.card__title {
    font-size: 14.5px;
    font-weight: 750;
    display: flex;
    align-items: center;
    gap: 8px;
}

.card__title svg {
    width: 17px;
    height: 17px;
    color: var(--primary);
}

.card__sub {
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.card__body {
    padding: 20px;
}

.card__body--flush {
    padding: 0;
}

.card__foot {
    padding: 13px 20px;
    border-top: 1px solid var(--line);
    background: var(--surface-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--muted);
}

/* ---------- stats ---------- */

.stat {
    position: relative;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 132px;
}

.stat::after {
    content: "";
    position: absolute;
    inset: auto -30px -50px auto;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--tone, var(--primary-soft));
    opacity: .5;
}

.stat__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.stat__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--tone, var(--primary-soft));
    color: var(--tone-ink, var(--primary-ink));
}

.stat__icon svg {
    width: 20px;
    height: 20px;
}

.stat__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    position: relative;
    z-index: 1;
}

.stat__value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
    line-height: 1.1;
}

.stat__meta {
    font-size: 11.5px;
    color: var(--muted);
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.stat--teal { --tone: #d9f7f2; --tone-ink: #0d766e; }
.stat--blue { --tone: #e0ecff; --tone-ink: #1d4ed8; }
.stat--amber { --tone: #fef0c7; --tone-ink: #b45309; }
.stat--rose { --tone: #ffe4e6; --tone-ink: #be123c; }
.stat--violet { --tone: #ede9fe; --tone-ink: #6d28d9; }

/* ---------- buttons ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 11px;
    border: 1px solid transparent;
    background: var(--surface);
    color: var(--ink-soft);
    font-size: 13.2px;
    font-weight: 650;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s, transform .1s, box-shadow .15s;
    white-space: nowrap;
    text-decoration: none;
}

.btn svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.btn:active {
    transform: translateY(1px);
}

.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 24px -16px rgba(15, 118, 110, .9);
}

.btn--primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn--outline {
    background: var(--surface);
    border-color: var(--line-strong);
    color: var(--ink-soft);
}

.btn--outline:hover {
    border-color: #b8cbc6;
    background: var(--surface-2);
}

.btn--ghost {
    background: transparent;
    color: var(--ink-soft);
}

.btn--ghost:hover {
    background: var(--surface-2);
}

.btn--soft {
    background: var(--primary-soft);
    color: var(--primary-ink);
}

.btn--soft:hover {
    background: #d3f2ec;
}

.btn--danger {
    background: var(--danger-soft);
    color: var(--danger);
    border-color: #fee2e2;
}

.btn--danger:hover {
    background: #fee2e2;
}

.btn--sm {
    padding: 7px 11px;
    font-size: 12.2px;
    border-radius: 9px;
}

.btn--sm svg {
    width: 14px;
    height: 14px;
}

.btn--block {
    width: 100%;
}

.btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
}

.btn-group {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--muted);
    cursor: pointer;
    transition: all .15s;
}

.icon-btn:hover {
    color: var(--primary);
    border-color: #b9e3dd;
    background: var(--primary-soft);
}

.icon-btn svg {
    width: 16px;
    height: 16px;
}

.icon-btn--danger:hover {
    color: var(--danger);
    border-color: #fecaca;
    background: var(--danger-soft);
}

/* ---------- badges & chips ---------- */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 99px;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.6;
    background: var(--surface-2);
    color: var(--muted);
    border: 1px solid var(--line);
    white-space: nowrap;
}

.badge--success {
    background: #e7f8f1;
    color: #047857;
    border-color: #c7f0e1;
}

.badge--primary {
    background: var(--primary-soft);
    color: var(--primary-ink);
    border-color: #c6ebe5;
}

.badge--warning {
    background: var(--amber-soft);
    color: #92400e;
    border-color: #fde68a;
}

.badge--danger {
    background: var(--danger-soft);
    color: #b91c1c;
    border-color: #fecaca;
}

.badge--info {
    background: var(--info-soft);
    color: #1d4ed8;
    border-color: #dbeafe;
}

.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    font-size: 12.5px;
    color: var(--ink-soft);
}

.chip strong {
    color: var(--ink);
}

.chip--accent {
    background: var(--primary-soft);
    border-color: #cdeee8;
    color: var(--primary-ink);
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--teal);
    flex: 0 0 7px;
}

/* ---------- tables ---------- */

.table-wrap {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: thin;
}

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 640px;
}

.table th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 11px 14px;
    text-align: left;
    font-size: 10.8px;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-2);
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}

.table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    color: var(--ink-soft);
}

.table tbody tr:hover td {
    background: #fbfdfc;
}

.table tbody tr:last-child td {
    border-bottom: 0;
}

.table strong {
    color: var(--ink);
    font-weight: 650;
}

.table .cell-main {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 170px;
}

.table .cell-main__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.table .cell-main__text span {
    font-size: 11.5px;
    color: var(--muted);
}

.table td.num,
.table th.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.table .actions {
    display: flex;
    gap: 5px;
    justify-content: flex-end;
}

.table--compact td,
.table--compact th {
    padding: 9px 12px;
}

.table--bordered th,
.table--bordered td {
    border-right: 1px solid var(--line);
}

.table--bordered th:last-child,
.table--bordered td:last-child {
    border-right: 0;
}

.mono {
    font-family: var(--mono);
    font-size: 12.2px;
    letter-spacing: .01em;
}

/* ---------- forms ---------- */

.form-section + .form-section {
    margin-top: 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.label {
    font-size: 12px;
    font-weight: 650;
    color: var(--ink-soft);
    display: flex;
    align-items: center;
    gap: 5px;
}

.label .req {
    color: var(--danger);
}

.hint {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.45;
}

.input,
.select,
.textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    font-size: 13.4px;
    color: var(--ink);
    transition: border-color .15s, box-shadow .15s, background .15s;
    min-width: 0;
}

.input::placeholder,
.textarea::placeholder {
    color: #9aaba6;
}

.input:focus,
.select:focus,
.textarea:focus {
    outline: none;
    border-color: #56c7b9;
    box-shadow: 0 0 0 4px rgba(20, 184, 166, .13);
}

.textarea {
    min-height: 92px;
    resize: vertical;
}

.select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7f79' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
    padding-right: 34px;
}

.field.is-invalid .input,
.field.is-invalid .select,
.field.is-invalid .textarea {
    border-color: #fca5a5;
    background: #fffafa;
}

.error-text {
    font-size: 11.5px;
    color: #b91c1c;
}

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

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

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

.span-2 {
    grid-column: span 2;
}

.span-3 {
    grid-column: span 3;
}

.span-full {
    grid-column: 1 / -1;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: var(--ink-soft);
    cursor: pointer;
}

.check input[type="checkbox"],
.check input[type="radio"] {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: var(--primary);
    flex: 0 0 17px;
}

.check small {
    display: block;
    color: var(--muted);
    font-size: 11.5px;
}

.check-tile {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface);
    cursor: pointer;
    transition: border-color .15s, background .15s;
}

.check-tile:hover {
    border-color: #a7d9d2;
    background: var(--surface-2);
}

.check-tile:has(input:checked) {
    border-color: #5fc9bb;
    background: var(--primary-soft);
    box-shadow: 0 0 0 1px rgba(20, 184, 166, .2);
}

.check-tile__title {
    font-size: 13px;
    font-weight: 650;
    color: var(--ink);
}

.check-tile__desc {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 1px;
}

/* ---------- member repeater ---------- */

.member-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.member {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    overflow: hidden;
}

.member__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 11px 15px;
    border-bottom: 1px solid var(--line);
    background: var(--surface);
}

.member__title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
    font-size: 13px;
}

.member__num {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: var(--primary-soft);
    color: var(--primary-ink);
    font-size: 12px;
    font-weight: 750;
}

.member__body {
    padding: 15px;
}

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

.member__grid .span-2 {
    grid-column: span 2;
}

.member__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ---------- bantuan ---------- */

.bantuan-panel {
    margin-top: 8px;
    padding: 16px;
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    display: none;
}

.bantuan-panel.is-open {
    display: block;
}

.bantuan-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    margin-top: 14px;
}

.bantuan-item {
    padding: 13px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color .15s, background .15s;
}

.bantuan-item.is-active {
    border-color: #79d3c6;
    background: #f4fdfb;
}

.bantuan-item__head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.bantuan-item__head svg {
    width: 17px;
    height: 17px;
    color: var(--primary);
    margin-top: 2px;
}

.bantuan-item__detail {
    display: none;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 11px;
    padding-top: 11px;
    border-top: 1px dashed var(--line-strong);
}

.bantuan-item.is-active .bantuan-item__detail {
    display: grid;
}

.bantuan-item__detail .span-2 {
    grid-column: span 2;
}

/* ---------- alerts ---------- */

.alert {
    display: flex;
    gap: 11px;
    padding: 13px 15px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--line);
    background: var(--surface);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    align-items: flex-start;
}

.alert svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin-top: 1px;
}

.alert strong {
    display: block;
    margin-bottom: 2px;
}

.alert ul {
    margin: 6px 0 0;
    padding-left: 18px;
}

.alert--success {
    background: #f0fdf7;
    border-color: #bbf7d0;
    color: #14532d;
}

.alert--success svg {
    color: #16a34a;
}

.alert--danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #7f1d1d;
}

.alert--danger svg {
    color: #dc2626;
}

.alert--warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #78350f;
}

.alert--warning svg {
    color: #d97706;
}

.alert--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e3a8a;
}

.alert--info svg {
    color: #2563eb;
}

/* ---------- import / wizard ---------- */

.steps {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 13px;
    border-radius: 99px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 12.5px;
    font-weight: 600;
}

.step__num {
    display: grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    background: var(--line);
    color: var(--ink-soft);
    font-size: 11px;
    font-weight: 750;
}

.step.is-active {
    border-color: #7ad3c7;
    background: var(--primary-soft);
    color: var(--primary-ink);
}

.step.is-active .step__num {
    background: var(--primary);
    color: #fff;
}

.step.is-done .step__num {
    background: #10b981;
    color: #fff;
}

.step__line {
    width: 26px;
    height: 1px;
    background: var(--line-strong);
}

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

.method {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    cursor: pointer;
    background: var(--surface);
    transition: border-color .15s, background .15s, box-shadow .15s;
}

.method input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.method:has(input:checked) {
    border-color: #4fc4b5;
    background: var(--primary-soft);
    box-shadow: 0 0 0 2px rgba(20, 184, 166, .14);
}

.method__icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--primary);
}

.method__icon svg {
    width: 18px;
    height: 18px;
}

.method__title {
    font-weight: 700;
    font-size: 13.2px;
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.method__desc {
    font-size: 11.5px;
    color: var(--muted);
    line-height: 1.45;
}

.method__check {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--line-strong);
    display: grid;
    place-items: center;
    background: var(--surface);
    color: transparent;
}

.method__check svg {
    width: 12px;
    height: 12px;
}

.method:has(input:checked) .method__check {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.provider-select {
    display: none;
    margin-top: 14px;
}

.provider-select.is-open {
    display: block;
}

.uploader {
    border: 1.5px dashed var(--line-strong);
    border-radius: var(--radius);
    background: var(--surface-2);
    padding: 26px;
    text-align: center;
    transition: border-color .15s, background .15s;
}

.uploader:hover,
.uploader.is-drag {
    border-color: #6ecfc2;
    background: #f4fdfb;
}

.uploader__icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 15px;
    background: var(--primary-soft);
    color: var(--primary);
}

.uploader__icon svg {
    width: 24px;
    height: 24px;
}

.uploader__title {
    font-weight: 700;
    font-size: 14.5px;
}

.uploader__desc {
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
}

.uploader__input {
    display: none;
}

.uploader__preview {
    display: none;
    margin-top: 14px;
    font-size: 12.5px;
    color: var(--primary-ink);
    background: var(--primary-soft);
    border: 1px solid #cdeee8;
    padding: 8px 12px;
    border-radius: 10px;
}

.uploader__preview.is-visible {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.camera-box {
    display: none;
    margin-top: 16px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: #08201d;
}

.camera-box.is-open {
    display: block;
}

.camera-box video,
.camera-box canvas {
    width: 100%;
    max-height: 420px;
    object-fit: contain;
    background: #061815;
    display: block;
}

.camera-box__bar {
    display: flex;
    gap: 9px;
    justify-content: center;
    padding: 12px;
    background: #0c2e29;
    flex-wrap: wrap;
}

.camera-box__hint {
    width: 100%;
    text-align: center;
    color: #9dc3bd;
    font-size: 11.5px;
    padding-top: 2px;
}

/* ---------- review ---------- */

.review-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius);
    background: linear-gradient(120deg, #062e29, #0f4f47);
    color: #e6fffb;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.review-banner svg {
    width: 22px;
    height: 22px;
    color: #5eead4;
}

.review-banner strong {
    color: #fff;
}

.review-banner .spacer {
    flex: 1;
}

.review-banner .badge {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .2);
    color: #d9fffa;
}

/* ---------- dashboard extras ---------- */

.welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
    border-radius: var(--radius);
    background:
        radial-gradient(90% 120% at 100% 0%, rgba(45, 212, 191, .28), transparent 60%),
        linear-gradient(115deg, #073c35 0%, #0d5c53 70%, #0f766e 100%);
    color: #d9fbf5;
    margin-bottom: 20px;
    flex-wrap: wrap;
    overflow: hidden;
}

.welcome h1 {
    color: #fff;
    font-size: clamp(20px, 2.2vw, 26px);
}

.welcome p {
    margin-top: 5px;
    font-size: 13px;
    color: #a7d9d2;
    max-width: 62ch;
}

.welcome__actions {
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
}

.welcome .btn--primary {
    background: #2dd4bf;
    color: #04231f;
}

.welcome .btn--primary:hover {
    background: #5eead4;
    color: #04231f;
}

.welcome .btn--outline {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .22);
    color: #eafffb;
}

.welcome .btn--outline:hover {
    background: rgba(255, 255, 255, .16);
}

.chart {
    position: relative;
    width: 100%;
    height: 260px;
}

.chart--sm {
    height: 210px;
}

.progress-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.progress-item__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    font-size: 12.5px;
    margin-bottom: 6px;
}

.progress-item__head strong {
    font-size: 13px;
}

.progress {
    height: 8px;
    border-radius: 99px;
    background: var(--bg-deep);
    overflow: hidden;
}

.progress span {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, #2dd4bf, #0f766e);
}

.progress--amber span {
    background: linear-gradient(90deg, #fbbf24, #d97706);
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.timeline__item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
}

.timeline__item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.timeline__dot {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 9px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: var(--primary);
}

.timeline__dot svg {
    width: 15px;
    height: 15px;
}

.timeline__body {
    min-width: 0;
    flex: 1;
}

.timeline__title {
    font-size: 12.8px;
    font-weight: 600;
}

.timeline__meta {
    font-size: 11.3px;
    color: var(--muted);
    margin-top: 1px;
}

/* ---------- profile / detail ---------- */

.profile-head {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 22px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background:
        radial-gradient(80% 120% at 100% 0%, rgba(20, 184, 166, .1), transparent 55%),
        var(--surface);
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.profile-head__avatar {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 19px;
    background: linear-gradient(145deg, #ccfbf1, #99f6e4);
    color: #0f766e;
    font-size: 20px;
    font-weight: 800;
    flex: 0 0 64px;
}

.profile-head__body {
    min-width: 220px;
    flex: 1;
}

.profile-head__body h2 {
    font-size: 21px;
}

.profile-head__meta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--muted);
    font-size: 12.4px;
    margin-top: 5px;
}

.profile-head__meta span {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.profile-head__meta svg {
    width: 14px;
    height: 14px;
}

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

.detail-item {
    padding: 12px 0;
    border-bottom: 1px dashed var(--line);
}

.detail-item:nth-last-child(-n + 2) {
    border-bottom: 0;
}

.detail-item dt {
    font-size: 11px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 650;
    margin-bottom: 3px;
}

.detail-item dd {
    margin: 0;
    font-size: 13.2px;
    color: var(--ink);
    font-weight: 550;
    overflow-wrap: anywhere;
}

/* ---------- misc ---------- */

.muted { color: var(--muted); }
.small { font-size: 12px; }
.tiny { font-size: 11px; }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.w-full { width: 100%; }

.divider {
    height: 1px;
    background: var(--line);
    margin: 16px 0;
}

.empty {
    padding: 40px 20px;
    text-align: center;
    color: var(--muted);
}

.empty__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin: 0 auto 12px;
    border-radius: 16px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    color: #9db0ab;
}

.empty__icon svg {
    width: 24px;
    height: 24px;
}

.empty h3 {
    color: var(--ink-soft);
    font-size: 14px;
    margin-bottom: 4px;
}

.empty p {
    font-size: 12.5px;
    max-width: 42ch;
    margin: 0 auto 14px;
}

.tabs {
    display: flex;
    gap: 6px;
    padding: 5px;
    border-radius: 12px;
    background: var(--bg-deep);
    flex-wrap: wrap;
}

.tab {
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 12.8px;
    font-weight: 650;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.tab svg {
    width: 15px;
    height: 15px;
}

.tab:hover {
    color: var(--ink);
}

.tab.is-active {
    background: var(--surface);
    color: var(--primary-ink);
    box-shadow: var(--shadow-sm);
}

.filter-bar {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-bar .field {
    min-width: 140px;
    flex: 1;
}

.filter-bar .field--wide {
    min-width: 220px;
    flex: 2;
}

.filter-bar .filter-actions {
    display: flex;
    gap: 7px;
    align-items: center;
    padding-bottom: 1px;
}

.stat-inline {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.stat-inline > div {
    min-width: 110px;
}

.stat-inline dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--muted);
    font-weight: 650;
}

.stat-inline dd {
    margin: 2px 0 0;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* ---------- pagination ---------- */

.pagination {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
}

.pagination .page-link {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink-soft);
    font-size: 12.5px;
    font-weight: 600;
}

.pagination .page-link:hover {
    border-color: #a8d8d1;
    color: var(--primary);
}

.pagination .is-active .page-link {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination .disabled .page-link {
    opacity: .45;
    pointer-events: none;
}

.pagination .ellipsis {
    color: var(--muted);
    padding: 0 4px;
}

/* ---------- auth ---------- */

.auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
}

.auth__brand {
    position: relative;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
    color: #d5f5ef;
    background:
        radial-gradient(60% 55% at 15% 10%, rgba(45, 212, 191, .35), transparent 60%),
        radial-gradient(50% 50% at 90% 85%, rgba(20, 184, 166, .25), transparent 65%),
        linear-gradient(150deg, #04251f 0%, #083a33 55%, #0c4f46 100%);
    overflow: hidden;
}

.auth__brand::after {
    content: "";
    position: absolute;
    inset: auto -80px -140px auto;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 1px solid rgba(94, 234, 212, .18);
    box-shadow: 0 0 0 60px rgba(94, 234, 212, .05), 0 0 0 120px rgba(94, 234, 212, .03);
}

.auth__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 800;
    letter-spacing: .04em;
}

.auth__headline {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.1;
    color: #fff;
    letter-spacing: -0.03em;
    max-width: 15ch;
}

.auth__lead {
    margin-top: 14px;
    color: #a7d9d2;
    font-size: 14px;
    max-width: 42ch;
}

.auth__features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
    max-width: 400px;
}

.auth__feature {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    font-size: 12.8px;
    color: #bfe8e2;
}

.auth__feature svg {
    width: 17px;
    height: 17px;
    color: #5eead4;
    flex: 0 0 17px;
    margin-top: 2px;
}

.auth__feature strong {
    color: #fff;
    display: block;
    font-size: 13px;
}

.auth__foot {
    font-size: 11.5px;
    color: #7fb3ab;
}

.auth__form {
    display: grid;
    place-items: center;
    padding: 36px 24px;
    background: var(--surface);
}

.auth__card {
    width: 100%;
    max-width: 400px;
}

.auth__title {
    font-size: 26px;
    letter-spacing: -0.03em;
}

.auth__sub {
    color: var(--muted);
    margin-top: 6px;
    margin-bottom: 24px;
    font-size: 13px;
}

/* ---------- responsive ---------- */

@media (max-width: 1180px) {
    .grid--stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .grid--split, .grid--halves { grid-template-columns: 1fr; }
    .member__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .method-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-104%);
        transition: transform .22s ease;
        box-shadow: var(--shadow-lg);
    }

    body.sidebar-open .sidebar { transform: translateX(0); }
    body.sidebar-open .sidebar-overlay { display: block; }
    .main { margin-left: 0; }
    .topbar__menu { display: inline-flex; }
    .topbar { padding: 11px 16px; }
    .content { padding: 20px 16px 48px; }
    .auth { grid-template-columns: 1fr; }
    .auth__brand { display: none; }
}

@media (max-width: 760px) {
    .grid--stats { grid-template-columns: 1fr; }
    .form-grid, .form-grid--3, .form-grid--4 { grid-template-columns: 1fr; }
    .span-2, .span-3 { grid-column: auto; }
    .member__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .table { min-width: 560px; }
    .quick-add span { display: none; }
    .quick-add { padding: 10px; }
    .user-chip__meta { display: none; }
    .topbar__search { display: none; }
    .welcome { padding: 18px; }
    .detail-grid { grid-template-columns: 1fr; }
    .detail-item:nth-last-child(-n + 2) { border-bottom: 1px dashed var(--line); }
    .detail-item:last-child { border-bottom: 0; }
    .page-head { align-items: flex-start; }
}

@media (max-width: 520px) {
    .member__grid { grid-template-columns: 1fr; }
    .bantuan-grid { grid-template-columns: 1fr; }
    .page-actions { width: 100%; }
    .page-actions .btn { flex: 1; }
    .steps { gap: 6px; }
    .step { padding: 6px 9px; font-size: 11.5px; }
    .step__line { display: none; }
}

/* ---------- print ---------- */

@media print {
    body {
        background: #fff;
        font-size: 11px;
    }

    .sidebar, .topbar, .site-foot, .page-actions, .filter-bar, .tabs, .btn, .pagination, .alert {
        display: none !important;
    }

    .main { margin-left: 0; }
    .content { padding: 0; max-width: none; }
    .card { border: 0; box-shadow: none; }
    .card__head { padding: 8px 0; }
    .table { min-width: 0; font-size: 9.5px; }
    .table th, .table td { padding: 5px 6px; }
    .stat { break-inside: avoid; border: 1px solid #ddd; }
    .grid--stats { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    a { color: inherit; }
    .no-print { display: none !important; }
}

/* ===== Iklan AdSense (hanya tenant tier gratis) ===== */
.iklan {
    margin: 18px 0 0;
    padding: 10px 12px 6px;
    border: 1px dashed #d7e2dd;
    border-radius: 12px;
    background: #fbfdfc;
}

.iklan__label {
    display: block;
    margin-bottom: 6px;
    font-size: 10.5px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8aa39c;
}

.iklan ins {
    display: block;
    min-height: 90px;
}

/* =========================================================
   Halaman publik (landing & kebijakan privasi)
   ========================================================= */

.publik {
    background: var(--surface);
}

.publik__wrap {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.publik__skip {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 99;
    padding: 10px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 0 0 10px 0;
}

.publik__skip:focus {
    left: 0;
    color: #fff;
}

.publik__head {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}

.publik__head-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 66px;
    flex-wrap: wrap;
}

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

.publik__brand:hover {
    color: var(--ink);
}

.publik__brand strong {
    display: block;
    font-size: 14px;
    letter-spacing: .01em;
    line-height: 1.2;
}

.publik__brand small {
    display: block;
    font-size: 10.5px;
    color: var(--muted);
    letter-spacing: .02em;
}

.publik__nav {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    flex-wrap: wrap;
}

.publik__nav > a:not(.btn) {
    color: var(--ink-soft);
    font-weight: 600;
}

.publik__nav > a:not(.btn):hover {
    color: var(--primary);
}

/* ---------- hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    color: #d5f5ef;
    background:
        radial-gradient(60% 55% at 12% 0%, rgba(45, 212, 191, .32), transparent 60%),
        radial-gradient(55% 55% at 92% 90%, rgba(20, 184, 166, .22), transparent 65%),
        linear-gradient(150deg, #04251f 0%, #083a33 55%, #0d5349 100%);
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 44px;
    align-items: center;
    padding-top: 68px;
    padding-bottom: 76px;
}

.hero__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 5px 11px;
    font-size: 10.5px;
    font-weight: 750;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #8ee9db;
    border: 1px solid rgba(94, 234, 212, .3);
    border-radius: 999px;
    background: rgba(94, 234, 212, .08);
}

.hero h1 {
    font-size: clamp(30px, 4.4vw, 46px);
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: #fff;
    max-width: 18ch;
}

.hero__lead {
    margin-top: 18px;
    max-width: 52ch;
    color: #a7d9d2;
    font-size: 14.5px;
}

.hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.hero .btn--primary {
    background: #14b8a6;
    color: #04251f;
    box-shadow: 0 10px 24px -12px rgba(20, 184, 166, .8);
}

.hero .btn--primary:hover {
    background: #2dd4bf;
    color: #04251f;
}

.hero .btn--outline {
    color: #d5f5ef;
    border-color: rgba(214, 245, 239, .35);
    background: transparent;
}

.hero .btn--outline:hover {
    color: #fff;
    border-color: rgba(214, 245, 239, .7);
    background: rgba(255, 255, 255, .06);
}

.hero__note {
    margin-top: 18px;
    font-size: 12px;
    color: #7fb3ab;
    max-width: 46ch;
}

.hero__panel {
    perspective: 1000px;
}

.hero__card {
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}

.hero__card-label {
    display: block;
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #8ee9db;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.hero__stats > div {
    padding: 11px 12px;
    border-radius: 12px;
    background: rgba(4, 37, 31, .4);
    border: 1px solid rgba(255, 255, 255, .07);
}

.hero__stats strong {
    display: block;
    font-size: 21px;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero__stats span {
    font-size: 11px;
    color: #9ccfc7;
}

.hero__bars {
    display: flex;
    align-items: flex-end;
    gap: 7px;
    height: 66px;
    margin-top: 16px;
}

.hero__bars span {
    flex: 1;
    height: var(--isi, 50%);
    border-radius: 6px 6px 2px 2px;
    background: linear-gradient(180deg, #2dd4bf, rgba(20, 184, 166, .35));
}

.hero__card-foot {
    display: block;
    margin-top: 12px;
    font-size: 10.5px;
    color: #79a9a2;
}

/* ---------- section ---------- */

.publik__section {
    padding: 66px 0;
    border-bottom: 1px solid var(--line);
}

.publik__section--atas {
    padding-top: 48px;
}

.publik__section--alt {
    background: var(--surface-2);
}

.publik__section-head {
    max-width: 640px;
    margin-bottom: 32px;
}

.publik__section-head h2 {
    font-size: clamp(23px, 3vw, 31px);
    letter-spacing: -0.03em;
}

.publik__section-head p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 13.5px;
}

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

.fitur {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.fitur__icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: var(--primary-soft);
    color: var(--primary);
    margin-bottom: 13px;
}

.fitur__icon svg {
    width: 19px;
    height: 19px;
}

.fitur h3 {
    font-size: 14.5px;
    margin-bottom: 6px;
}

.fitur p {
    font-size: 12.8px;
    color: var(--muted);
}

/* ---------- langkah ---------- */

.langkah {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: langkah;
}

.langkah li {
    position: relative;
    padding: 22px 20px 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.langkah__no {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    margin-bottom: 12px;
}

.langkah h3 {
    font-size: 14px;
    margin-bottom: 6px;
}

.langkah p {
    font-size: 12.8px;
    color: var(--muted);
}

/* ---------- privasi ringkas ---------- */

.privasi-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.privasi-grid h2 {
    font-size: clamp(23px, 3vw, 31px);
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.privasi-lead {
    color: var(--muted);
    font-size: 13.5px;
    max-width: 62ch;
}

.daftar-centang {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin: 18px 0 22px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    color: var(--ink-soft);
}

.daftar-centang li {
    display: flex;
    gap: 9px;
    align-items: flex-start;
}

.daftar-centang svg {
    width: 16px;
    height: 16px;
    color: var(--primary);
    flex: 0 0 16px;
    margin-top: 2px;
}

.kutipan {
    padding: 26px 24px;
    border-radius: var(--radius);
    color: #d5f5ef;
    background:
        radial-gradient(90% 90% at 100% 0%, rgba(45, 212, 191, .25), transparent 60%),
        linear-gradient(160deg, #083a33, #0d5349);
}

.kutipan p {
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
}

.kutipan span {
    display: block;
    margin-top: 16px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #8ee9db;
}

/* ---------- tanya jawab ---------- */

.tanya {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 820px;
}

.tanya details {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface);
    padding: 14px 18px;
}

.tanya summary {
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 650;
    list-style: none;
}

.tanya summary::-webkit-details-marker {
    display: none;
}

.tanya summary::before {
    content: "+";
    display: inline-block;
    width: 18px;
    color: var(--primary);
    font-weight: 800;
}

.tanya details[open] summary::before {
    content: "–";
}

.tanya details p {
    margin: 10px 0 2px 18px;
    font-size: 13px;
    color: var(--muted);
}

/* ---------- ajakan ---------- */

.ajakan {
    padding: 48px 0;
    background: var(--surface-2);
}

.ajakan__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    flex-wrap: wrap;
}

.ajakan h2 {
    font-size: clamp(21px, 2.6vw, 27px);
    letter-spacing: -0.03em;
}

.ajakan p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

/* ---------- dokumen (kebijakan privasi) ---------- */

.dokumen {
    max-width: 820px;
}

.dokumen__head h1 {
    font-size: clamp(25px, 3.4vw, 35px);
    letter-spacing: -0.03em;
}

.dokumen__meta {
    margin-top: 9px;
    font-size: 12px;
    color: var(--muted);
}

.dokumen__isi {
    margin-top: 26px;
    font-size: 13.5px;
    color: var(--ink-soft);
}

.dokumen__ringkas {
    padding: 16px 18px;
    border-left: 3px solid var(--teal);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: var(--primary-soft);
    color: var(--primary-ink);
}

.dokumen__isi h2 {
    margin: 30px 0 8px;
    font-size: 16.5px;
    letter-spacing: -0.01em;
    color: var(--ink);
}

.dokumen__isi h3 {
    margin: 18px 0 6px;
    font-size: 13.5px;
    color: var(--ink);
}

.dokumen__isi p {
    margin-bottom: 10px;
    max-width: 78ch;
}

.dokumen__isi ul {
    margin: 0 0 12px;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.dokumen__kembali {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 34px;
    padding-top: 22px;
    border-top: 1px solid var(--line);
}

/* ---------- footer publik ---------- */

.publik__foot {
    padding: 40px 0 46px;
    background: #06231e;
    color: #9ccfc7;
    font-size: 12.5px;
}

.publik__foot-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1.1fr);
    gap: 26px;
}

.publik__foot strong {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: #fff;
    letter-spacing: .02em;
}

.publik__foot a {
    display: block;
    color: #9ccfc7;
    margin-bottom: 6px;
}

.publik__foot a:hover {
    color: #fff;
}

.publik__foot p {
    max-width: 42ch;
    color: #7fb3ab;
}

@media (max-width: 900px) {
    .hero__inner,
    .privasi-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

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

    .publik__foot-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 620px) {
    .publik__head-inner {
        min-height: 60px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .publik__nav {
        gap: 12px;
        font-size: 12.5px;
        width: 100%;
    }

    .publik__nav .btn {
        margin-left: auto;
    }

    .publik__brand small {
        display: none;
    }

    .hero__inner {
        padding-top: 46px;
        padding-bottom: 52px;
    }

    .hero h1 {
        max-width: none;
    }

    .publik__section {
        padding: 46px 0;
    }

    .fitur-grid,
    .langkah {
        grid-template-columns: 1fr;
    }

    .publik__foot-inner {
        grid-template-columns: 1fr;
    }
}
