/* Bagian "Fitur" di halaman depan.
   Kelas diawali "lf-" karena Tailwind terkompilasi tidak memuat kelas baru.
   Warna memakai variabel dari main.css; jarak mengikuti kelipatan 4px. */

.lf { --lf-line: rgb(15 23 42 / .09); }

.lf-lead { margin: 8px 0 0; max-width: 40rem; font-size: .9375rem; line-height: 1.65; color: var(--color-slate-600); }

/* ---------- Grid: dua baris dengan pembagian kolom berbeda ---------- */
.lf-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
@media (min-width: 1024px) {
    .lf-grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
    .lf-bembel { grid-column: span 7; }
    .lf-chat   { grid-column: span 5; }
    .lf-temu   { grid-column: span 5; }
    .lf-stack  { grid-column: span 7; }
}

/* ---------- Kartu ---------- */
.lf-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: #fff; border: 1px solid var(--lf-line); border-radius: 20px; }
@media (min-width: 640px) { .lf-card { padding: 28px; } }

.lf-top { display: flex; align-items: center; gap: 12px; }
.lf-ico { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 12px; background: var(--color-brand-50); color: var(--color-brand-700); font-size: 16px; }
.lf-title { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; line-height: 1.25; color: var(--color-slate-900); }
.lf-sub { margin: 4px 0 0; font-size: .8125rem; line-height: 1.4; color: var(--color-slate-500); }
.lf-body { margin: 0; font-size: .9375rem; line-height: 1.65; color: var(--color-slate-700); }

/* Penanda "Baru": teks tenang, bukan lencana menyala */
.lf-new { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 6px; background: var(--color-brand-50); box-shadow: inset 0 0 0 1px rgb(14 107 114 / .2); color: var(--color-brand-700); font-family: var(--font-sans); font-size: .75rem; font-weight: 600; line-height: 1; letter-spacing: 0; }
.lf-new-dark { background: rgb(255 255 255 / .12); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .28); color: #fff; }

/* ---------- Tahapan DeepBembel: garis penghubung bernomor ---------- */
.lf-steps { list-style: none; margin: 0; padding: 0; }
.lf-steps li { position: relative; display: flex; gap: 12px; padding-bottom: 16px; }
.lf-steps li:last-child { padding-bottom: 0; }
.lf-steps li:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 28px; bottom: 4px; width: 1px; background: var(--color-brand-200); }
.lf-n { flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px var(--color-brand-300); color: var(--color-brand-700); font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.lf-steps b { display: block; font-size: .9375rem; font-weight: 600; line-height: 24px; color: var(--color-slate-900); }
.lf-steps span.lf-d { display: block; margin-top: 2px; font-size: .8125rem; line-height: 1.5; color: var(--color-slate-600); }

/* ---------- Daftar fakta kecil ---------- */
.lf-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 16px 0 0; list-style: none; border-top: 1px solid var(--lf-line); font-size: .8125rem; line-height: 1.4; color: var(--color-slate-600); }
.lf-facts li { display: flex; align-items: center; gap: 8px; }
.lf-facts li::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--color-brand-500); }
.lf-card > .lf-facts { margin-top: auto; }

/* ---------- Contoh tampilan Pesan Kelas (momen utama) ---------- */
.lf-mock { display: flex; flex-direction: column; margin-top: auto; overflow: hidden; background: #fff; border: 1px solid var(--lf-line); border-radius: 16px; }
.lf-mock-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--color-brand-600); color: #fff; }
.lf-mock-head i { font-size: 16px; }
.lf-mock-head b { display: block; font-size: .875rem; font-weight: 600; line-height: 1.2; }
.lf-mock-head span { display: block; margin-top: 2px; font-size: .75rem; line-height: 1.2; color: var(--color-brand-100); }
.lf-mock-body { display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--color-slate-50); }
.lf-msg { max-width: 85%; margin: 0; padding: 8px 12px; border-radius: 12px; font-size: .8125rem; line-height: 1.5; }
.lf-msg.them { align-self: flex-start; background: #fff; border: 1px solid var(--lf-line); border-bottom-left-radius: 4px; color: var(--color-slate-800); }
.lf-msg.me { align-self: flex-end; background: var(--color-brand-600); border-bottom-right-radius: 4px; color: #fff; }
.lf-who { display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 600; color: var(--color-brand-700); }
.lf-mock-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--lf-line); font-size: .8125rem; color: var(--color-slate-500); }
.lf-mock-foot i { color: var(--color-brand-600); }
.lf-cap { margin: -8px 0 0; font-size: .75rem; color: var(--color-slate-500); }

/* ---------- Penyaring linimasa Temu ---------- */
.lf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.lf-chips li { padding: 4px 12px; border-radius: 8px; background: var(--color-slate-100); font-size: .8125rem; font-weight: 500; line-height: 20px; color: var(--color-slate-600); }
.lf-chips li.on { background: var(--color-brand-600); color: #fff; }

/* ---------- Kartu daftar: Ruang Ujian dan Email orang tua ---------- */
.lf-stack { display: flex; flex-direction: column; padding: 0; gap: 0; }
.lf-item { display: flex; gap: 16px; padding: 20px; }
.lf-item + .lf-item { border-top: 1px solid var(--lf-line); }
@media (min-width: 640px) { .lf-item { padding: 28px; } }
.lf-item .lf-title { font-size: 1.125rem; }
.lf-item .lf-body { margin-top: 8px; }
.lf-item .lf-facts { margin-top: 16px; padding-top: 0; border-top: 0; }

/* ---------- Catatan "Baru" di hero ---------- */
.lf-hero-note { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: .875rem; line-height: 1.4; color: var(--color-brand-100); text-decoration: none; transition: color .15s ease; }
.lf-hero-note:hover { color: #fff; }
.lf-hero-note i { font-size: 12px; }

.lf a:focus-visible, .lf-hero-note:focus-visible { outline: 2px solid var(--color-brand-400); outline-offset: 2px; border-radius: 4px; }

/* Teks rata kiri: gaya global halaman depan memakai justify, yang membuat spasi antarkata renggang di kolom sempit */
#viewLanding .lf p, #viewLanding .lf li { text-align: left; text-justify: auto; hyphens: manual; -webkit-hyphens: manual; }
