/* ==========================================================================
   PINTU — Komponen
   ========================================================================== */

/* ---------- Ikon ---------- */
.i { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 16px; height: 16px; }
.i--lg { width: 28px; height: 28px; stroke-width: 1.25; }

/* ---------- Logo PINTU ---------- */
.mark { width: 28px; height: 28px; flex: none; color: var(--ink); --mark-leaf: var(--accent); }
.wordmark { font-weight: 650; letter-spacing: .08em; font-size: 14px; }

.app-tile {
  width: 84px; height: 84px; border-radius: 26px;
  display: grid; place-items: center;
  background: var(--surface); border: var(--hairline);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
}
.app-tile .mark { width: 44px; height: 44px; }

/* ---------- Navbar pil mengambang ---------- */
.nav-wrap { position: sticky; top: 0; z-index: var(--z-nav); padding: 12px 16px 0; pointer-events: none; }
.nav {
  pointer-events: auto;
  position: relative;
  margin-inline: auto; width: fit-content; max-width: 100%; /* lebar mengikuti isi */
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 18px;
  background: rgba(15, 19, 25, .96);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  color: #fff;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-nav);
}
.nav__brand { display: inline-flex; align-items: center; gap: 10px; padding-right: 10px; color: #fff; }
.nav__brand .mark { width: 26px; height: 26px; color: #fff; --mark-leaf: var(--night-accent); }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0 4px 0 18px; }
.nav__link { white-space: nowrap; }
.nav__icon-btn { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; color: rgba(255,255,255,.72); transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease); }
.nav__icon-btn:hover, .nav__icon-btn:focus-visible { color: #fff; background: rgba(255,255,255,.08); }
.nav__icon-btn .i { width: 19px; height: 19px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 450; color: rgba(255, 255, 255, .72);
  transition: color var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease);
}
.nav__link .i { width: 14px; height: 14px; transition: transform var(--dur-2) var(--ease); }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__link[aria-current="page"], .nav__item[data-current] > .nav__link { color: #fff; }
.nav__item[data-current] > .nav__link::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--night-accent); }
.nav__link { position: relative; }
.nav__link[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav__cta { margin-left: 4px; }

.nav__menu {
  position: absolute; left: 50%; top: calc(100% + 14px);
  width: 340px; padding: 8px;
  background: var(--ink); border-radius: 22px;
  box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translate(-50%, -6px);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), visibility 0s linear var(--dur-2);
}
.nav__menu::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.nav__item.is-open .nav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav__menu-link { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; align-items: center; padding: 10px 12px; border-radius: 14px; transition: background-color var(--dur-1) var(--ease); }
.nav__menu-link:hover, .nav__menu-link:focus-visible { background: rgba(255, 255, 255, .07); }
.nav__menu-link .nav__menu-icon { grid-row: span 2; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--night-2); color: var(--night-muted); }
.nav__menu-link strong { font-size: 14px; font-weight: 550; color: #fff; }
.nav__menu-link span { font-size: 12.5px; color: var(--night-muted); line-height: 1.35; }
.nav__menu-link[aria-current="page"] strong { color: var(--night-accent); }

.nav__toggle { display: none; align-items: center; gap: 8px; margin-left: auto; padding: 9px 14px; border-radius: var(--r-pill); color: #fff; font-size: 14px; background: rgba(255,255,255,.08); }
.nav__toggle .bars { width: 16px; height: 10px; position: relative; }
.nav__toggle .bars::before, .nav__toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform var(--dur-2) var(--ease), top var(--dur-2) var(--ease); }
.nav__toggle .bars::before { top: 1px; }
.nav__toggle .bars::after { top: 7.5px; }
.nav__toggle[aria-expanded="true"] .bars::before { top: 4.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] .bars::after { top: 4.5px; transform: rotate(-45deg); }

.mobile-menu {
  pointer-events: auto;
  max-width: 880px; margin: 10px auto 0;
  background: var(--ink); color: #fff; border-radius: 26px;
  padding: 12px; box-shadow: var(--shadow-pop);
  max-height: calc(100vh - 120px); overflow: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__group + .mobile-menu__group { border-top: 1px solid var(--night-line); }
.mobile-menu__group { padding: 10px 8px; }
.mobile-menu__label { font-size: var(--fs-eyebrow); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--night-muted); padding: 4px 8px 6px; }
.mobile-menu a:not(.btn) { display: flex; justify-content: space-between; align-items: center; padding: 10px 8px; border-radius: 12px; font-size: 15px; color: rgba(255,255,255,.86); }
.mobile-menu a:not(.btn):hover { background: rgba(255,255,255,.06); color: #fff; }
.mobile-menu a:not(.btn)[aria-current="page"] { color: var(--night-accent); }
.mobile-menu__cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 8px 4px; }
.mobile-menu__cta .btn { justify-content: center; }

@media (max-width: 1000px) {
  .nav { width: auto; max-width: 880px; } /* seluler: pil selebar layar */
  .nav__links, .nav__icon-btn { display: none; }
  .nav .nav__cta { margin-left: auto; }
  .nav__toggle { display: inline-flex; }
}
@media (min-width: 1001px) { .mobile-menu { display: none !important; } }
@media (min-width: 1001px) and (max-width: 1140px) { .nav__link { padding-inline: 10px; } .nav__links { margin-left: 10px; } }
@media (max-width: 1000px) { .nav__toggle { margin-left: 0; } }
@media (max-width: 480px) { .nav .nav__cta { display: none; } .nav__toggle { margin-left: auto; } }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--r-pill);
  font-size: 15px; font-weight: 550; letter-spacing: -0.005em; line-height: 1;
  white-space: nowrap;
  transition: background-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 18px; height: 18px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #262B33; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #ECEAE4; }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--night { background: var(--night-3); color: #fff; border: 1px solid var(--night-line); }
.btn--night:hover { background: #2A2B31; }
.btn--sm { min-height: 38px; padding: 0 16px; font-size: 14px; gap: 8px; }
.btn--xs { min-height: 30px; padding: 0 12px; font-size: 12.5px; gap: 6px; }
.btn--block { width: 100%; justify-content: center; white-space: normal; text-align: center; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }

/* ---------- Tautan ---------- */
.link {
  color: var(--accent-ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size var(--dur-2) var(--ease), color var(--dur-1) var(--ease);
  padding-bottom: 1px;
}
.link:hover { background-size: 100% 1px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; color: var(--accent-ink); font-weight: 500; }
.link-arrow .i { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }
.link-ink { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; transition: text-decoration-color var(--dur-1) var(--ease); }
.link-ink:hover { text-decoration-color: var(--ink); }

/* ---------- Mikrokopi kepercayaan ---------- */
.trust { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-2); }
.trust .i { width: 15px; height: 15px; }

/* ---------- Media (blok bulat besar) + baris keterangan ---------- */
.media { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--night); isolation: isolate; }
.media--light { background: var(--paper-2); border: var(--hairline); }
.caption-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 24px;
  margin-top: 20px; padding-top: 20px; border-top: var(--hairline);
}
.caption-row p:first-child { font-size: 15px; color: var(--ink); max-width: 52ch; }
.caption-row p:last-child { font-size: 13px; color: var(--text-2); text-align: right; flex: none; }
@media (max-width: 640px) { .caption-row { flex-direction: column; gap: 6px; } .caption-row p:last-child { text-align: left; } }

.play-pill {
  position: absolute; left: 24px; bottom: 24px; z-index: 2;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 6px 18px 6px 6px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.96); color: var(--ink); font-size: 14px; font-weight: 550;
  box-shadow: var(--shadow-soft);
  transition: transform var(--dur-2) var(--ease);
}
.play-pill:hover { transform: scale(1.03); }
.play-pill__btn { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.play-pill__btn svg { width: 14px; height: 14px; fill: currentColor; stroke: none; margin-left: 2px; }
.play-pill small { color: var(--text-2); font-weight: 450; font-size: 13px; }

/* ---------- Strip tiga fitur ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.feature .i { width: 26px; height: 26px; stroke-width: 1.25; color: var(--ink); margin-bottom: 20px; }
.feature .title { margin-bottom: 6px; }
.feature p { color: var(--text-2); font-size: 15px; max-width: 34ch; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Tab bernomor (01 / 02 / 03) ---------- */
.numtabs { display: flex; flex-direction: column; gap: 4px; list-style: none; }
.numtab {
  display: grid; grid-template-columns: 44px 1fr; align-items: baseline; width: 100%; text-align: left;
  padding: 14px 0; color: var(--gray); border-bottom: var(--hairline);
  transition: color var(--dur-2) var(--ease);
}
.numtab:last-child { border-bottom: 0; }
.numtab__num { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--text-2); }
.numtab__label { font-family: var(--font-display); font-weight: var(--fw-display); font-size: clamp(24px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; position: relative; justify-self: start; padding-bottom: 6px; }
.numtab__label::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); border-radius: 2px; transition: width var(--dur-3) var(--ease); }
.numtab:hover { color: var(--text-2); }
.numtab[aria-selected="true"] { color: var(--ink); }
.numtab[aria-selected="true"] .numtab__label::after { width: 36px; }

.numtabs--row { flex-direction: row; gap: 28px; flex-wrap: wrap; }
.numtabs--row .numtab { border-bottom: 0; grid-template-columns: auto auto; gap: 10px; padding: 6px 0; width: auto; }
.numtabs--row .numtab__label { font-size: 24px; }

/* ---------- Daftar kategori aktif (biru + garis bawah + panah) ---------- */
.catlist { list-style: none; display: grid; gap: 2px; }
.catlist button, .catlist a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 0; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-2);
  transition: color var(--dur-2) var(--ease);
  text-align: left;
}
.catlist .catlist__txt { position: relative; }
.catlist .catlist__txt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-3) var(--ease); }
.catlist .i { width: 16px; height: 16px; opacity: 0; transform: translateX(-6px); transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
.catlist button:hover, .catlist a:hover { color: var(--ink); }
.catlist [aria-selected="true"], .catlist [aria-current="true"] { color: var(--accent); }
.catlist [aria-selected="true"] .catlist__txt::after, .catlist [aria-current="true"] .catlist__txt::after { transform: scaleX(1); }
.catlist [aria-selected="true"] .i, .catlist [aria-current="true"] .i { opacity: 1; transform: none; }

/* ---------- Kartu ---------- */
.card { background: var(--surface); border: var(--hairline); border-radius: var(--r-lg); }
.card--sunken { background: var(--paper-2); border: var(--hairline); border-radius: var(--r-xl); }
.card--xl { border-radius: var(--r-xl); }
.card--pad { padding: clamp(20px, 3vw, 32px); }
.card--link { transition: border-color var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); display: block; }
.card--link:hover { border-color: var(--line-2); transform: translateY(-2px); }

.smallcaps { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }

/* ---------- Lencana / pil ---------- */
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: var(--r-pill);
  background: var(--surface); border: var(--hairline);
  font-size: 13.5px; font-weight: 500; color: var(--ink);
}
.badge__dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 650; letter-spacing: .02em; background: var(--paper-2); color: var(--ink-2); border: var(--hairline); }

.chip {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px;
  padding: 0 14px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); background: transparent;
  font-size: 13.5px; font-weight: 500; color: var(--text-2);
  transition: all var(--dur-1) var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"], .chip[aria-selected="true"], .chip[aria-checked="true"], .chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 550; line-height: 1.5; background: var(--paper-2); color: var(--ink-2); white-space: nowrap; }
.tag .i { width: 13px; height: 13px; stroke-width: 2; }
.tag--ok { background: var(--ok-soft); color: var(--ok); }
.tag--warn { background: var(--warn-soft); color: var(--warn); }
.tag--danger { background: var(--danger-soft); color: var(--danger); }
.tag--accent { background: var(--accent-soft); color: var(--accent-ink); }
.tag--line { background: transparent; border: 1px solid var(--line-2); color: var(--text-2); }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative; flex: none; }
.live-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid currentColor; opacity: .5; animation: pulse 2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Akordeon (FAQ) ---------- */
.accordion { border-top: var(--hairline); }
.acc { border-bottom: var(--hairline); }
.acc summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: 16px; font-weight: 600; letter-spacing: -0.005em;
}
.acc summary::-webkit-details-marker { display: none; }
.acc__plus { width: 28px; height: 28px; border-radius: 50%; border: var(--hairline); display: grid; place-items: center; flex: none; transition: transform var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease); }
.acc__plus svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.75; fill: none; }
.acc[open] .acc__plus { transform: rotate(45deg); background: var(--ink); color: #fff; border-color: var(--ink); }
.acc summary:hover .acc__plus { border-color: var(--ink); }
.acc__body { overflow: hidden; }
.acc__body > div { padding: 0 52px 24px 0; color: var(--text-2); max-width: 64ch; }
.acc__body > div > * + * { margin-top: .7em; }

/* ---------- Tile metrik (mockup gelap) ---------- */
.on-night { color: var(--night-text); }
.night-panel { background: var(--night); border-radius: var(--r-xl); padding: clamp(14px, 2vw, 22px); color: var(--night-text); }
.tile { background: var(--night-2); border-radius: var(--r-md); padding: 16px 18px; position: relative; min-width: 0; }
.tile__label { font-size: 12.5px; color: var(--night-muted); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tile__value { font-size: var(--fs-metric); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; margin-top: 10px; color: #fff; }
.tile__value small { font-family: var(--font-sans); font-size: .45em; font-weight: 500; color: var(--night-muted); letter-spacing: 0; margin-left: 4px; }
.tile__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--night-muted); }
.delta { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.delta--up { color: var(--ok-night); }
.delta--down { color: var(--danger-night); }
.delta .i { width: 12px; height: 12px; stroke-width: 2.25; }
.spark { width: 100%; height: 36px; margin-top: 12px; overflow: visible; }
.spark path { fill: none; stroke: var(--night-faint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spark .spark__area { fill: rgba(127, 164, 255, .1); stroke: none; }
.spark .spark__now { stroke: var(--night-accent); }
.spark circle { fill: var(--night-accent); stroke: var(--night-2); stroke-width: 2; }

.filter-row { display: flex; gap: 4px; padding: 4px; background: var(--night-2); border-radius: var(--r-pill); flex-wrap: wrap; }
.filter-row button { padding: 6px 12px; border-radius: var(--r-pill); font-size: 12.5px; color: var(--night-muted); transition: all var(--dur-1) var(--ease); }
.filter-row button:hover { color: #fff; }
.filter-row button[aria-pressed="true"] { background: var(--night-3); color: #fff; box-shadow: inset 0 0 0 1px var(--night-line); }

/* ---------- Formulir ---------- */
.field { display: grid; gap: 8px; }
.field + .field { margin-top: 18px; }
.label { font-size: 13.5px; font-weight: 550; color: var(--ink); display: flex; justify-content: space-between; gap: 12px; }
.label small { font-weight: 450; color: var(--text-2); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 14px;
  font-size: 15px; color: var(--ink);
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.textarea { min-height: 128px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: #9A9EA5; }
.input:hover, .select:hover, .textarea:hover { border-color: #C6C1B4; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23646A72' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.help { font-size: 12.5px; color: var(--text-2); }
.error-msg { font-size: 12.5px; color: var(--danger); display: flex; gap: 6px; align-items: center; }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 52px; }
.input-wrap__btn { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--text-2); }
.input-wrap__btn:hover { background: var(--paper-2); color: var(--ink); }
.check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }

/* sakelar */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { width: 36px; height: 22px; border-radius: 99px; background: var(--night-3); border: 1px solid var(--night-line); position: relative; transition: background-color var(--dur-2) var(--ease); flex: none; }
.switch__track::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform var(--dur-2) var(--ease); }
.switch input:checked + .switch__track { background: var(--accent); border-color: var(--accent); }
.switch input:checked + .switch__track::after { transform: translateX(14px); }
.switch input:focus-visible + .switch__track { outline: 2px solid var(--night-accent); outline-offset: 2px; }

/* ---------- Tabel ---------- */
.table { font-size: 15px; }
.table th { text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); padding: 12px 16px; border-bottom: 1px solid var(--line-2); }
.table td { padding: 14px 16px; border-bottom: var(--hairline); vertical-align: top; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; }

/* ---------- Remah roti ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; color: var(--text-2); list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-2); }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Hero halaman turunan ---------- */
.page-hero { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero .crumbs { margin-bottom: 28px; }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero .h-display { max-width: 15ch; }
.page-hero .lead { margin-top: 24px; }
.page-hero--split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; align-items: end; }
.page-hero--split .lead { margin-top: 0; }
@media (max-width: 860px) { .page-hero--split { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Catatan prototipe (data contoh) ---------- */
.proto-note { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); }
.proto-note::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); flex: none; }

/* ---------- Placeholder foto (ganti dengan foto resmi) ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: inherit;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255,255,255,.55), transparent 60%),
    linear-gradient(160deg, var(--ph-a, #D9D3C4), var(--ph-b, #B9B09C));
  display: grid; place-items: end start;
  color: rgba(15,19,25,.55);
}
.ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(15,19,25,.08) 1px, transparent 1px);
  background-size: 14px 14px; mix-blend-mode: multiply; opacity: .6;
}
.ph svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; color: rgba(15,19,25,.16); }
.ph__label { position: relative; z-index: 1; margin: 14px; padding: 4px 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.7); font-size: 11.5px; font-weight: 500; color: var(--ink-2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ph--blue { --ph-a: #CBD6EE; --ph-b: #9FB1D8; }
.ph--sand { --ph-a: #E3D9C3; --ph-b: #C8B48D; }
.ph--sage { --ph-a: #D3DCCB; --ph-b: #A9B99C; }
.ph--rose { --ph-a: #E8D3CB; --ph-b: #CFA898; }
.ph--slate { --ph-a: #CDD1D6; --ph-b: #9EA5AE; }

/* ---------- Dialog ---------- */
.dialog { border: 0; padding: 0; border-radius: var(--r-xl); background: var(--surface); color: var(--ink); width: min(560px, calc(100% - 32px)); box-shadow: var(--shadow-pop); }
.dialog::backdrop { background: rgba(15,19,25,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.dialog__body { padding: 32px; }
.dialog__close { position: absolute; right: 14px; top: 14px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); }
.dialog__close:hover { background: var(--paper-2); }

/* ---------- Footer ---------- */
.footer { border-top: var(--hairline); padding-top: 56px; padding-bottom: 32px; font-size: 14px; }
.footer__info { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 48px; }
.footer__info h3 { font-size: var(--fs-eyebrow); letter-spacing: var(--track-eyebrow); text-transform: uppercase; color: var(--text-2); font-weight: 500; margin-bottom: 12px; }
.footer__info p, .footer__info li { color: var(--ink-2); line-height: 1.6; }
.footer__info ul { list-style: none; display: grid; gap: 6px; }
.footer__info a:hover { color: var(--accent-ink); }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand .mark { width: 30px; height: 30px; color: var(--ink); }
.footer__brand strong { display: block; font-size: 14px; letter-spacing: .08em; }
.footer__brand span { display: block; font-size: 12.5px; color: var(--text-2); line-height: 1.35; }
.footer__nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 24px; border-top: var(--hairline); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 24px; list-style: none; }
.footer__links a { color: var(--ink-2); }
.footer__links a:hover { color: var(--ink); }
.footer__top { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 500; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 20px; border-top: var(--hairline); font-size: 12.5px; color: var(--text-2); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 6px 20px; list-style: none; }
.footer__bottom a:hover { color: var(--ink); }
.footer__emblem { display: inline-flex; align-items: center; gap: 8px; }
.footer__emblem img { width: 18px; }
@media (max-width: 900px) {
  .footer__info { grid-template-columns: 1fr 1fr; }
  .footer__info > :first-child { grid-column: 1 / -1; }
  .footer__nav { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) { .footer__info { grid-template-columns: 1fr; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: var(--z-modal); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--r-pill); font-size: 14px; display: inline-flex; gap: 10px; align-items: center; opacity: 0; pointer-events: none; transition: all var(--dur-2) var(--ease); box-shadow: var(--shadow-pop); }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Lambang Provinsi NTT (logo utama) ----------
   Aturan: tinggi diatur, lebar mengikuti (proporsi asli 1020:1081).
   Tanpa filter, bayangan, warna ulang, potong, atau putar. Tinggi minimum 24px. */
.emblem { display: block; flex: none; width: auto; max-width: none; }
.nav__brand { gap: 10px; }
.nav__emblem { height: 31px; }
.brand-name { display: grid; line-height: 1.15; }
.brand-name strong { font-size: 13.5px; font-weight: 650; letter-spacing: .08em; }
.brand-name small { font-size: 11px; color: var(--night-muted); letter-spacing: 0; white-space: nowrap; }
.footer__brand .emblem { height: 44px; }
.nav { padding-left: 12px; }
/* Tabel ringkas yang boleh membungkus angka di layar sempit */
.table--fluid .num { white-space: normal; }
@media (max-width: 400px) { .table--fluid td { padding: 12px 8px; } }
