/* ==========================================================
   JOIN US — Karier Klinik Pratama Khaira (karir/index.php), 31-10-2026
   Token warna & komponen = web profil v3 (index.html; gaya stripe.com): brand #533afd, navy #061b31, netral #f8fafd,
   gelap indigo #0d1738. Mode TERANG bawaan + GELAP (pilihan sama dengan beranda: localStorage khaira-tema).
   ========================================================== */
:root {
    color-scheme: light;
    --bg: #f8fafd;
    --bg-alt: #f1f5fa;
    --surface: #ffffff;
    --surface2: #f6f9fc;
    --ink: #061b31;
    --ink2: #3c4f69;
    --ink3: #56657d;
    --line: #e5edf5;
    --line2: #d4dee9;
    --brand: #533afd;
    --brand-h: #4032c8;
    --brand-ink: #4032c8;
    --brand-soft: #eef0ff;
    --brand-line: #d6d9fc;
    --grad: linear-gradient(90deg, #7232f1 3%, #fb76fa 50%, #ffcf5e);
    --grad-teks: linear-gradient(90deg, #533afd, #7232f1 30%, #c42dd8 66%, #ff6118);
    --sh1: 0 1px 2px rgba(6, 27, 49, .05), 0 6px 16px -8px rgba(6, 27, 49, .14);
    --sh2: 0 2px 4px rgba(6, 27, 49, .04), 0 28px 56px -24px rgba(6, 27, 49, .3);
    --nav-bg: rgba(248, 250, 253, .86);
    --merah: #c0262d;
    --merah-latar: #fdeceb;
    --hijau-ink: #0b7a3e;
    --r: 20px;
    --nav-h: 72px;
    --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    --ease: cubic-bezier(.16, 1, .3, 1)
}

[data-tema="gelap"] {
    color-scheme: dark;
    --bg: #0d1738;
    --bg-alt: #101d4e;
    --surface: #122054;
    --surface2: #182659;
    --ink: #f2f7fe;
    --ink2: #c0cee6;
    --ink3: #a3b5d6;
    --line: rgba(163, 181, 214, .16);
    --line2: rgba(163, 181, 214, .3);
    --brand: #635bff;
    --brand-h: #7f7dfc;
    --brand-ink: #b9b9f9;
    --brand-soft: rgba(99, 91, 255, .18);
    --brand-line: rgba(154, 154, 254, .38);
    --grad-teks: linear-gradient(90deg, #b9b9f9, #fb76fa 50%, #ffcf5e);
    --sh1: 0 1px 2px rgba(0, 0, 0, .3), 0 6px 16px -8px rgba(0, 0, 0, .5);
    --sh2: 0 28px 56px -24px rgba(0, 0, 0, .7);
    --nav-bg: rgba(13, 23, 56, .86);
    --merah: #ffb4b0;
    --merah-latar: rgba(255, 99, 99, .14);
    --hijau-ink: #6ef0a6
}

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

[hidden] {
    display: none !important
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    background: var(--bg)
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    transition: background-color .4s, color .4s
}

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

a {
    color: inherit;
    text-decoration: none
}

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

:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
    border-radius: 10px
}

.sr-only {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0
}

.skip {
    position: absolute;
    left: 12px;
    top: -80px;
    z-index: 3000;
    padding: 12px 18px;
    border-radius: 12px;
    background: var(--brand);
    color: #fff;
    font-weight: 700
}

.skip:focus {
    top: 12px
}

.wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-inline: max(24px, env(safe-area-inset-left))
}

.grad {
    background: var(--grad-teks);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent
}

.mono {
    font-family: var(--mono);
    letter-spacing: .02em
}

/* ---------- Tombol (= v3) ---------- */
.btn {
    --h: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: var(--h);
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 700;
    font-size: .95rem;
    line-height: 1.1;
    white-space: nowrap;
    cursor: pointer;
    text-decoration: none;
    transition: transform .25s var(--ease), box-shadow .25s, background-color .25s, border-color .25s, color .25s
}

.btn-sm {
    --h: 44px;
    padding: 0 18px;
    font-size: .9rem
}

.btn-lg {
    --h: 56px;
    padding: 0 28px;
    font-size: 1rem
}

.btn-block {
    width: 100%
}

.btn i {
    transition: transform .25s var(--ease)
}

.btn:hover .fa-arrow-right {
    transform: translateX(4px)
}

.btn-p {
    color: #fff;
    background: var(--brand);
    box-shadow: 0 10px 24px -10px rgba(83, 58, 253, .7), inset 0 1px 0 rgba(255, 255, 255, .25)
}

.btn-p:hover {
    background: var(--brand-h);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px -12px rgba(83, 58, 253, .8)
}

.btn-p:disabled {
    cursor: progress;
    transform: none;
    opacity: .78
}

.btn-sec {
    color: var(--ink);
    background: var(--surface);
    border-color: var(--line2);
    box-shadow: var(--sh1)
}

.btn-sec:hover {
    border-color: var(--brand);
    color: var(--brand-ink);
    transform: translateY(-2px)
}

.btn-ghost {
    color: var(--ink2);
    background: transparent;
    border-color: var(--line2)
}

.btn-ghost:hover {
    color: var(--brand-ink);
    border-color: var(--brand)
}

.btn-wa {
    color: #03230f;
    background: #25d366;
    box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .8)
}

.btn-wa:hover {
    background: #3ee07c;
    transform: translateY(-2px)
}

/* ---------- Navigasi (= v3, versi ringkas) ---------- */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
    transition: background-color .35s, border-color .35s, box-shadow .35s
}

.nav::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--grad)
}

.nav.scrolled,
.nav.menu-buka {
    background: var(--nav-bg);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px -22px rgba(6, 27, 49, .5)
}

.nav-in {
    display: flex;
    align-items: center;
    gap: 16px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-right: auto
}

.brand-mark {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 0 0 1px var(--line2), 0 0 0 5px var(--brand-soft), 0 8px 20px -8px rgba(83, 58, 253, .55)
}

.brand-mark img {
    width: 40px;
    height: 40px
}

.brand-tx {
    display: flex;
    flex-direction: column;
    line-height: 1
}

.brand-tx small {
    font-family: var(--mono);
    font-size: .64rem;
    font-weight: 600;
    letter-spacing: .26em;
    text-transform: uppercase;
    color: var(--brand-ink)
}

.brand-tx strong {
    margin-top: 6px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: .16em;
    color: var(--ink)
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px
}

.nav-links>a {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 13px;
    border-radius: 999px;
    color: var(--ink2);
    font-size: .93rem;
    font-weight: 600;
    transition: color .2s, background-color .2s
}

.nav-links>a:hover {
    color: var(--ink);
    background: var(--brand-soft)
}

.nav-links>a.aktif {
    color: var(--brand-ink);
    background: var(--brand-soft)
}

.nav-act {
    display: flex;
    align-items: center;
    gap: 10px
}

.tema-btn {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 1px solid var(--line2);
    background: var(--surface);
    color: var(--ink2);
    font-size: 1.05rem;
    cursor: pointer;
    box-shadow: var(--sh1);
    transition: transform .3s var(--ease), color .2s, border-color .2s
}

.tema-btn:hover {
    color: var(--brand-ink);
    border-color: var(--brand);
    transform: rotate(-18deg)
}

.tema-btn .fa-sun,
[data-tema="gelap"] .tema-btn .fa-moon {
    display: none
}

[data-tema="gelap"] .tema-btn .fa-sun {
    display: inline-block;
    color: #ffcf5e
}

.burger {
    display: none;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--line2);
    background: var(--surface);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: var(--sh1)
}

.burger span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink)
}

.burger span:nth-child(2) {
    width: 12px;
    margin-left: 6px
}

.menu-hp {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 8px 0 16px;
    background: var(--nav-bg);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh2)
}

.menu-hp a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 6px;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
    color: var(--ink)
}

.menu-hp a:last-child {
    border-bottom: 0
}

.menu-hp a[aria-current="page"] {
    color: var(--brand-ink)
}

.menu-hp a i {
    font-size: .75rem;
    color: var(--ink3)
}

/* ---------- Ikon bergradasi (= v3) ---------- */
.ic {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, #9a9afe, #533afd 70%);
    box-shadow: 0 10px 22px -12px rgba(83, 58, 253, .9), inset 0 1px 0 rgba(255, 255, 255, .35)
}

.ic.magenta {
    background: linear-gradient(135deg, #f98bf9, #f96bee 45%, #b262f9);
    box-shadow: 0 10px 22px -12px rgba(178, 98, 249, .9), inset 0 1px 0 rgba(255, 255, 255, .35)
}

.ic.lemon {
    color: #3a2503;
    background: linear-gradient(135deg, #ffd552, #ffaf2d 55%, #ff9014);
    box-shadow: 0 10px 22px -12px rgba(255, 144, 20, .9), inset 0 1px 0 rgba(255, 255, 255, .45)
}

.ic.oranye {
    background: linear-gradient(135deg, #fe8c2d, #fd6252 50%, #fd5d7c);
    box-shadow: 0 10px 22px -12px rgba(253, 98, 82, .9), inset 0 1px 0 rgba(255, 255, 255, .35)
}

.ic.ruby {
    background: linear-gradient(135deg, #fd7184, #ea2261);
    box-shadow: 0 10px 22px -12px rgba(234, 34, 97, .9), inset 0 1px 0 rgba(255, 255, 255, .35)
}

.ic.biru {
    background: linear-gradient(135deg, #7ab8ff, #0073e6);
    box-shadow: 0 10px 22px -12px rgba(0, 115, 230, .9), inset 0 1px 0 rgba(255, 255, 255, .35)
}

.ic.hijau {
    color: #03230f;
    background: linear-gradient(135deg, #6ef0a6, #25d366);
    box-shadow: 0 10px 22px -12px rgba(37, 211, 102, .9), inset 0 1px 0 rgba(255, 255, 255, .45)
}

.ic.kecil {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    font-size: .92rem
}

/* ---------- Bagian & kartu (= v3) ---------- */
.sec {
    position: relative;
    padding: 96px 0
}

.sec-alt {
    background: var(--bg-alt);
    border-block: 1px solid var(--line)
}

.sec-head {
    max-width: 740px;
    margin: 0 auto 48px;
    text-align: center
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--brand-soft);
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--brand-ink)
}

.kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--grad);
    transform: rotate(45deg)
}

.kicker .no {
    color: var(--ink3)
}

.sec-head h2 {
    margin-bottom: 14px;
    font-size: clamp(1.85rem, 1.1rem + 2.3vw, 2.7rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -.03em;
    color: var(--ink);
    text-wrap: balance
}

.sec-head p {
    font-size: 1.05rem;
    color: var(--ink2)
}

.card {
    position: relative;
    isolation: isolate;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--sh1)
}

.label-atas {
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand-ink)
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: calc(var(--nav-h) + 64px) 0 88px
}

.hero-latar {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(640px 420px at 12% 18%, rgba(114, 50, 241, .16), transparent 70%),
        radial-gradient(560px 380px at 88% 8%, rgba(251, 118, 250, .16), transparent 70%),
        radial-gradient(620px 420px at 70% 92%, rgba(255, 207, 94, .2), transparent 70%),
        var(--bg)
}

[data-tema="gelap"] .hero-latar {
    background:
        radial-gradient(640px 420px at 12% 18%, rgba(114, 50, 241, .3), transparent 70%),
        radial-gradient(560px 380px at 88% 8%, rgba(251, 118, 250, .16), transparent 70%),
        radial-gradient(620px 420px at 70% 92%, rgba(255, 207, 94, .1), transparent 70%),
        var(--bg)
}

.hero-in {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    gap: 56px;
    align-items: center
}

.hero-copy h1 {
    font-size: clamp(2.1rem, 1.2rem + 3.2vw, 3.5rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -.035em;
    text-wrap: balance
}

.hero-sub {
    max-width: 620px;
    margin-top: 20px;
    font-size: 1.08rem;
    color: var(--ink2)
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px
}

.hero-chip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
    list-style: none
}

.hero-chip li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--line2);
    background: var(--surface);
    font-size: .86rem;
    font-weight: 700;
    color: var(--ink2);
    box-shadow: var(--sh1)
}

.hero-chip i {
    color: var(--brand-ink)
}

.hero-kartu {
    padding: 26px
}

.sekilas {
    display: grid;
    gap: 16px;
    margin-top: 16px;
    list-style: none
}

.sekilas li {
    display: flex;
    align-items: center;
    gap: 14px
}

.sekilas .ic {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    font-size: 1.05rem
}

.sekilas b {
    display: block;
    font-size: 1rem;
    color: var(--ink)
}

.sekilas span {
    display: block;
    font-size: .88rem;
    line-height: 1.45;
    color: var(--ink3)
}

/* ---------- Lowongan ---------- */
.lowongan {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
    gap: 20px
}

.posisi {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    transition: transform .35s var(--ease), border-color .35s, box-shadow .35s
}

.posisi:hover {
    transform: translateY(-4px);
    border-color: var(--brand-line);
    box-shadow: var(--sh2)
}

.posisi:target {
    border-color: var(--brand)
}

.posisi-top {
    display: flex;
    align-items: center;
    gap: 16px
}

.posisi h3 {
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink)
}

.buka {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-family: var(--mono);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--hijau-ink)
}

.buka i {
    font-size: .45rem
}

.posisi-ringkas {
    font-size: .94rem;
    color: var(--ink2)
}

.syarat {
    display: grid;
    gap: 8px;
    list-style: none
}

.syarat li {
    display: flex;
    gap: 10px;
    font-size: .9rem;
    line-height: 1.5;
    color: var(--ink2)
}

.syarat i {
    margin-top: 4px;
    font-size: .78rem;
    color: var(--brand-ink)
}

.posisi .btn {
    margin-top: auto
}

.catatan-umum {
    display: flex;
    gap: 10px;
    max-width: 860px;
    margin: 28px auto 0;
    font-size: .92rem;
    color: var(--ink3);
    text-align: left
}

.catatan-umum i {
    margin-top: 4px;
    color: var(--brand-ink)
}

/* revisi 31-10: semua lowongan ditutup admin */
.lowongan-kosong {
    display: flex;
    gap: 10px;
    max-width: 860px;
    margin: 8px auto 0;
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px dashed var(--brand-ink);
    font-weight: 600;
    color: var(--ink3)
}

.lowongan-kosong i {
    margin-top: 4px;
    color: var(--brand-ink)
}

/* ---------- Alur ---------- */
.alur {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    list-style: none;
    counter-reset: none
}

.alur li {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    border-radius: var(--r);
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--sh1)
}

.alur .no {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #9a9afe, #533afd 70%)
}

.alur b {
    font-size: 1.04rem;
    color: var(--ink)
}

.alur span:not(.no) {
    font-size: .9rem;
    color: var(--ink2)
}

/* ---------- Formulir ---------- */
.form-lamaran {
    max-width: 920px;
    margin: 0 auto;
    padding: 34px
}

.ringkasan-galat {
    display: flex;
    gap: 12px;
    margin-bottom: 22px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--merah);
    background: var(--merah-latar);
    color: var(--merah)
}

.ringkasan-galat i {
    margin-top: 4px
}

.ringkasan-galat b {
    display: block
}

.ringkasan-galat span {
    display: block;
    font-size: .9rem
}

.hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden
}

.bagian {
    margin: 0 0 22px;
    padding: 0 0 22px;
    border: 0;
    border-bottom: 1px dashed var(--line2)
}

.bagian legend {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--ink)
}

.bagian-ket {
    margin: -6px 0 14px;
    font-size: .9rem;
    color: var(--ink3)
}

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

.fg {
    min-width: 0;
    margin-bottom: 12px
}

.fg.penuh {
    grid-column: 1 / -1
}

.fg label,
.fg .label {
    display: block;
    margin-bottom: 6px;
    font-size: .86rem;
    font-weight: 700;
    color: var(--ink2)
}

.wajib-tanda {
    color: var(--merah)
}

.opsi {
    margin-left: 4px;
    font-size: .74rem;
    font-weight: 600;
    color: var(--ink3)
}

.fg input[type="text"],
.fg input[type="tel"],
.fg input[type="email"],
.fg input[type="date"],
.fg select,
.fg textarea {
    width: 100%;
    min-height: 50px;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--line2);
    background: var(--surface2);
    color: var(--ink);
    font-size: 1rem;
    transition: border-color .2s, box-shadow .2s
}

.fg select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 42px;
    background-image: linear-gradient(45deg, transparent 50%, var(--ink3) 50%), linear-gradient(135deg, var(--ink3) 50%, transparent 50%);
    background-position: calc(100% - 22px) 52%, calc(100% - 16px) 52%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat
}

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

.fg input::placeholder,
.fg textarea::placeholder {
    color: var(--ink3)
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-soft)
}

.fg [aria-invalid="true"],
.berkas input[aria-invalid="true"] {
    border-color: var(--merah) !important;
    box-shadow: 0 0 0 3px var(--merah-latar)
}

.fg-bantu {
    margin-top: 6px;
    font-size: .8rem;
    color: var(--ink3)
}

.fg-galat {
    margin-top: 6px;
    font-size: .84rem;
    font-weight: 700;
    color: var(--merah)
}

.pilih-dua {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.pil {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    margin: 0 !important;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid var(--line2);
    background: var(--surface2);
    cursor: pointer;
    font-size: .95rem !important;
    color: var(--ink) !important
}

.pil input {
    width: 18px;
    height: 18px;
    accent-color: var(--brand)
}

.pil:has(input:checked) {
    border-color: var(--brand);
    background: var(--brand-soft)
}

.pil:has(input:focus-visible) {
    outline: 2px solid var(--brand);
    outline-offset: 2px
}

.berkas input[type="file"] {
    width: 100%;
    padding: 10px;
    border-radius: 14px;
    border: 1px dashed var(--line2);
    background: var(--surface2);
    color: var(--ink2);
    font-size: .88rem;
    cursor: pointer
}

.berkas input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-ink);
    font-family: inherit;
    font-weight: 700;
    cursor: pointer
}

.berkas input[type="file"]:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 2px
}

.berkas.terisi input[type="file"] {
    border-style: solid;
    border-color: var(--brand-line)
}

.setuju {
    margin: 4px 0 22px
}

.cek {
    display: flex;
    gap: 12px;
    font-size: .93rem;
    color: var(--ink2);
    cursor: pointer
}

.cek input {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 3px;
    accent-color: var(--brand)
}

.kirim-baris {
    display: grid;
    gap: 10px
}

.progres {
    display: grid;
    gap: 6px;
    font-size: .86rem;
    font-weight: 700;
    color: var(--ink2)
}

.progres-batang {
    height: 8px;
    border-radius: 999px;
    overflow: hidden;
    background: var(--line)
}

.progres-batang i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: var(--grad);
    transition: width .2s linear
}

.form-stat {
    min-height: 1.2em;
    font-size: .9rem;
    font-weight: 700;
    color: var(--merah)
}

.form-stat.ok {
    color: var(--hijau-ink)
}

.form-note {
    display: flex;
    gap: 8px;
    font-size: .82rem;
    color: var(--ink3)
}

.form-note i {
    margin-top: 4px;
    color: #1fa855
}

/* ---------- Halaman sukses ---------- */
.selesai {
    padding: calc(var(--nav-h) + 40px) 0 72px;
    background:
        radial-gradient(600px 380px at 10% 0%, rgba(37, 211, 102, .12), transparent 70%),
        radial-gradient(560px 380px at 95% 10%, rgba(114, 50, 241, .12), transparent 70%)
}

.selesai-in {
    max-width: 820px;
    display: grid;
    gap: 18px
}

.selesai-kepala {
    display: flex;
    align-items: center;
    gap: 18px
}

.selesai-kepala h1 {
    font-size: clamp(1.5rem, 1rem + 2vw, 2.3rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -.02em
}

.selesai-kepala .kicker {
    margin-bottom: 8px
}

.cek-besar {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    color: #03230f;
    background: linear-gradient(135deg, #6ef0a6, #25d366);
    box-shadow: 0 14px 30px -12px rgba(37, 211, 102, .9)
}

.kartu-wa,
.kartu-ringkas,
.kartu-alur {
    padding: 26px
}

.kartu-wa {
    border-color: rgba(37, 211, 102, .55)
}

.kartu-wa h2 {
    margin: 6px 0 6px;
    font-size: 1.35rem;
    font-weight: 800
}

.kartu-wa>p {
    margin-bottom: 16px;
    color: var(--ink2)
}

.kartu-wa .ket {
    margin: 14px 0 0;
    font-size: .88rem;
    color: var(--ink3)
}

.hitung {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 12px !important;
    font-size: .92rem;
    font-weight: 700;
    color: var(--ink2)
}

.batal {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line2);
    background: var(--surface);
    font-weight: 700;
    cursor: pointer
}

.pratinjau {
    margin-top: 12px
}

.pratinjau summary {
    cursor: pointer;
    font-size: .88rem;
    font-weight: 700;
    color: var(--brand-ink)
}

.pratinjau pre {
    margin-top: 10px;
    padding: 14px;
    border-radius: 12px;
    background: var(--surface2);
    border: 1px solid var(--line);
    font-family: inherit;
    font-size: .88rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    color: var(--ink2)
}

.pesan-info {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--brand-soft);
    color: var(--brand-ink);
    font-size: .92rem;
    font-weight: 600
}

.pesan-info i {
    margin-top: 4px
}

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

.ringkas dt {
    font-size: .78rem;
    font-weight: 700;
    color: var(--ink3)
}

.ringkas dd {
    font-weight: 700;
    color: var(--ink);
    overflow-wrap: anywhere
}

.alur-v {
    display: grid;
    gap: 14px;
    list-style: none
}

.alur-v li {
    display: flex;
    gap: 14px;
    color: var(--ink3)
}

.alur-v .no {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 800;
    border: 2px solid var(--line2);
    color: var(--ink3)
}

.alur-v li.beres .no {
    border-color: #25d366;
    background: #25d366;
    color: #03230f
}

.alur-v li.aktif .no {
    border-color: var(--brand);
    color: var(--brand-ink)
}

.alur-v b {
    display: block;
    color: var(--ink)
}

.alur-v span:not(.no) {
    display: block;
    font-size: .9rem
}

.aksi-selesai {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 6px
}

/* ---------- Kaki halaman (= v3, ringkas) ---------- */
.foot {
    position: relative;
    padding: 64px 0 28px;
    border-top: 1px solid var(--line);
    background: var(--bg-alt)
}

.foot::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    height: 3px;
    background: var(--grad)
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.4fr;
    gap: 40px;
    margin-bottom: 40px
}

.foot .brand {
    margin-bottom: 18px
}

.foot h4 {
    margin-bottom: 16px;
    font-family: var(--mono);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--ink3)
}

.foot p {
    font-size: .93rem;
    color: var(--ink2)
}

.foot p strong {
    color: var(--ink)
}

.foot ul {
    display: grid;
    gap: 10px;
    list-style: none
}

.foot li a {
    font-size: .93rem;
    color: var(--ink2);
    transition: color .2s
}

.foot li a:hover {
    color: var(--brand-ink)
}

.foot-k li {
    display: flex;
    gap: 10px;
    font-size: .92rem;
    color: var(--ink2)
}

.foot-k i {
    width: 16px;
    margin-top: 5px;
    color: var(--brand-ink)
}

.foot-k span {
    min-width: 0;
    overflow-wrap: anywhere
}

.foot-bot {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: .84rem;
    color: var(--ink3)
}

.foot-bot a:hover {
    color: var(--brand-ink)
}

/* ---------- Responsif ---------- */
@media (max-width: 1080px) {
    .nav-links {
        display: none
    }

    .burger {
        display: flex
    }

    .hero-in {
        grid-template-columns: 1fr;
        gap: 36px
    }

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

@media (max-width: 760px) {
    .sec {
        padding: 72px 0
    }

    .hero {
        padding: calc(var(--nav-h) + 40px) 0 64px
    }

    .kisi,
    .ringkas {
        grid-template-columns: 1fr
    }

    .form-lamaran {
        padding: 24px 18px
    }

    .foot-grid {
        grid-template-columns: 1fr;
        gap: 28px
    }

    .nav-cta span {
        display: none
    }

    .nav-cta {
        width: 44px;
        padding: 0
    }
}

@media (max-width: 520px) {
    .wrap {
        padding-inline: max(16px, env(safe-area-inset-left))
    }

    .alur {
        grid-template-columns: 1fr
    }

    .hero-cta .btn {
        width: 100%
    }

    .brand-tx strong {
        font-size: 1.08rem;
        letter-spacing: .12em
    }

    .brand-mark {
        width: 40px;
        height: 40px
    }

    .brand-mark img {
        width: 34px;
        height: 34px
    }

    .posisi,
    .kartu-wa,
    .kartu-ringkas,
    .kartu-alur,
    .hero-kartu {
        padding: 20px
    }

    .selesai-kepala {
        align-items: flex-start
    }

    .btn-lg {
        padding: 0 18px
    }

    .btn-wa.btn-lg {
        white-space: normal;
        text-align: center;
        line-height: 1.25
    }
}

@media (max-width: 360px) {
    .nav-in {
        gap: 8px
    }

    .nav-act {
        gap: 6px
    }

    .pilih-dua {
        grid-template-columns: 1fr
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important
    }
}

@media print {
    .nav,
    .foot,
    .hero-cta,
    .kirim-baris {
        display: none !important
    }
}
