/* ==========================================================================
   Landing Page — Digital Invitation Platform

   Palet diturunkan dari warna merek #198352. Mobile-first: seluruh
   tata letak dirancang untuk layar sempit lebih dulu, lalu dilonggarkan
   di layar lebar.
   ========================================================================== */

.lp {
  --c: #198352;
  --c-dark: #12653f;
  --c-soft: #e8f3ed;
  --bg: #fbfdfc;
  --panel: #fff;
  --ink: #16241e;
  --mute: #5f6e67;
  --line: #dfe6e2;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;

  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-weight: 400; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
/* overflow-x: clip, BUKAN hidden.
   "hidden" membuat elemen menjadi kontainer gulir, dan itu MEMATIKAN
   position:sticky pada seluruh anaknya — header tidak akan menempel.
   "clip" memotong luberan tanpa efek samping itu. */
html { width: 100%; max-width: 100%; overflow-x: clip; background: #fbfdfc; }
.lp { width: 100%; max-width: 100%; min-height: 100vh; overflow-x: clip; }

/* Cadangan untuk browser lawas yang belum mengenal clip: luberan
   dijinakkan di elemen yang berpotensi melebar, bukan di html. */
@supports not (overflow-x: clip) {
  .lp-hero, .lp-sec, .lp-cta, .lp-foot { overflow-x: hidden; }
}

/* Penyebab geseran horizontal paling umum: elemen flex/grid yang
   menolak menyusut karena min-width bawaannya auto. */
.lp-wrap, .lp-hero__in, .lp-hero__text, .lp-grid3, .lp-themes,
.lp-feats, .lp-prices, .lp-steps, .lp-foot__in { min-width: 0; }
.lp-hero h1, .lp-lead, .lp-card p, .lp-feat p,
.lp-theme__body b, .lp-theme__body small { overflow-wrap: anywhere; }
.lp img { max-width: 100%; height: auto; display: block; }
/* Hanya tautan TANPA kelas yang diwarnai.
   Menulis ".lp a" tanpa penjaga akan mengalahkan .lp-btn karena
   spesifisitasnya lebih tinggi (kelas+elemen vs kelas), sehingga teks
   tombol menjadi hijau di atas latar hijau — tidak terlihat. */
.lp a:not([class]) { color: var(--c); }

.lp-wrap { width: 100%; max-width: 1120px; margin-inline: auto; padding-inline: 1.2rem; }
.lp-wrap--narrow { max-width: 720px; }
.lp-center { text-align: center; }

/* ---------- Tombol ---------- */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: .75rem 1.4rem;
  font-family: inherit; font-size: .92rem; font-weight: 600;
  text-decoration: none; white-space: nowrap;
  border: 1.5px solid var(--c); border-radius: 100px; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
/* Warna dipisah dan dinaikkan spesifisitasnya, agar aman dari
   aturan tautan umum apa pun yang ditambahkan kelak. */
.lp a.lp-btn,
.lp button.lp-btn,
.lp .lp-btn { color: #fff; background: var(--c); }
.lp a.lp-btn--ghost,
.lp .lp-btn--ghost { color: var(--c); background: transparent; }
.lp a.lp-btn--light,
.lp .lp-btn--light { color: var(--c); background: #fff; border-color: #fff; }
.lp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px color-mix(in srgb, var(--c) 32%, transparent);
}
.lp-btn--ghost:hover { background: var(--c-soft); box-shadow: none; }
.lp-btn--lg { min-height: 54px; padding: .95rem 1.9rem; font-size: 1rem; }


/* ---------- Navigasi ---------- */
.lp-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.lp-nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 14px rgba(0,0,0,.04);
}
.lp-nav__in {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .8rem;
}
.lp-brand {
  font-weight: 800; font-size: 1.05rem; text-decoration: none;
  color: var(--ink); letter-spacing: -.02em;
}
.lp-nav__links { display: none; gap: 1.6rem; }
.lp-nav__links a {
  font-size: .9rem; font-weight: 500; text-decoration: none; color: var(--mute);
}
.lp-nav__links a:hover { color: var(--c); }
.lp-nav__act { display: flex; align-items: center; gap: .5rem; }
.lp-nav__act .lp-btn { min-height: 40px; padding: .55rem 1.1rem; font-size: .85rem; }

/* ---------- Hero ---------- */
.lp-hero {
  padding-block: clamp(2.5rem, 8vw, 5rem) clamp(3rem, 10vw, 6rem);
  background:
    radial-gradient(ellipse at 15% 0%, var(--c-soft), transparent 55%),
    radial-gradient(ellipse at 90% 40%,
      color-mix(in srgb, var(--c) 7%, transparent), transparent 50%);
}
/* Area grid dipakai agar urutan di ponsel dan desktop bisa berbeda
   tanpa menduplikasi markup.
     Ponsel : teks -> gambar -> poin -> tombol
     Desktop: kolom kiri (teks, poin, tombol) | kolom kanan (gambar) */
.lp-hero__in {
  display: grid; gap: 1.8rem;
  grid-template-areas: "head" "art" "ticks" "act";
}
.lp-hero__head  { grid-area: head; }
.lp-hero__art   { grid-area: art; }
.lp-ticks       { grid-area: ticks; }
.lp-hero__act   { grid-area: act; }

.lp-pill {
  display: inline-block; margin-bottom: 1.1rem;
  padding: .38rem 1rem; font-size: .78rem; font-weight: 600;
  color: var(--c-dark); background: var(--c-soft); border-radius: 100px;
}

.lp-hero h1 {
  margin: 0 0 1rem; font-size: clamp(1.9rem, 8vw, 3.2rem);
  font-weight: 800; line-height: 1.15; letter-spacing: -.025em;
}
.lp-lead {
  margin: 0; font-size: clamp(.98rem, 3.6vw, 1.1rem);
  color: var(--mute); max-width: 44ch;
}

.lp-hero__act { display: flex; flex-wrap: wrap; gap: .7rem; margin: 0; }
.lp-hero__act .lp-btn { flex: 1 1 auto; }

.lp-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.lp-ticks li {
  position: relative; padding-left: 1.5rem;
  font-size: .86rem; color: var(--mute);
}
.lp-ticks li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border-radius: 50%; background: var(--c);
}

/* Tumpukan ponsel */
.lp-stack {
  position: relative; height: clamp(300px, 78vw, 440px);
  display: grid; place-items: center; overflow: hidden;
  padding-inline: 2rem;
}
.lp-stack__p {
  position: absolute; width: clamp(150px, 40vw, 210px); aspect-ratio: 9/17;
  padding: 7px; background: #1b1b1f; border-radius: 26px; overflow: hidden;
  box-shadow: 0 16px 46px rgba(0,0,0,.2);
}
.lp-stack__p img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 20px;
}
.lp-stack__p--1 { z-index: 3; transform: translateY(0) rotate(0deg); }
.lp-stack__p--2 {
  z-index: 2; transform: translate(-34%, 6%) rotate(-8deg) scale(.88);
  opacity: .95;
}
.lp-stack__p--3 {
  z-index: 1; transform: translate(34%, 6%) rotate(8deg) scale(.88);
  opacity: .95;
}

/* ---------- Bagian ---------- */
.lp-sec { padding-block: clamp(2.8rem, 9vw, 5rem); }
.lp-sec--alt { background: var(--panel); }

.lp-h2 {
  margin: 0 0 .5rem; font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 800; letter-spacing: -.02em; text-align: center;
}
.lp-sub {
  margin: 0 auto 2.2rem; max-width: 46ch;
  font-size: .95rem; color: var(--mute); text-align: center;
}
.lp-h2 + .lp-grid3,
.lp-h2 + .lp-feats,
.lp-h2 + .lp-steps,
.lp-h2 + .lp-faq { margin-top: 2.2rem; }

/* ---------- Kartu alasan ---------- */
.lp-grid3 { display: grid; gap: 1rem; }
.lp-card {
  padding: 1.6rem 1.4rem; background: var(--panel);
  border: 1px solid var(--line); border-radius: 16px;
}
.lp-sec--alt .lp-card { background: var(--bg); }
.lp-card__n {
  display: grid; place-items: center; width: 34px; height: 34px;
  margin-bottom: .9rem; font-size: .85rem; font-weight: 800;
  color: var(--c); background: var(--c-soft); border-radius: 50%;
}
.lp-card h3 { margin: 0 0 .5rem; font-size: 1.05rem; font-weight: 700; }
.lp-card p { margin: 0; font-size: .9rem; color: var(--mute); }

/* ---------- Filter tema ---------- */
.lp-filters {
  display: flex; gap: .4rem; margin-bottom: 1.4rem;
  overflow-x: auto; scrollbar-width: none; padding-bottom: .3rem;
  justify-content: flex-start;
}
.lp-filters::-webkit-scrollbar { display: none; }
.lp-chip {
  flex: 0 0 auto; padding: .45rem 1rem; font: inherit; font-size: .82rem;
  font-weight: 600; color: var(--mute); background: transparent;
  border: 1px solid var(--line); border-radius: 100px; cursor: pointer;
  white-space: nowrap; transition: all .2s;
}
.lp-chip.is-on { color: #fff; background: var(--c); border-color: var(--c); }

/* ---------- Katalog tema ---------- */
.lp-themes {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem;
  margin-bottom: 2rem;
}
.lp-theme {
  background: var(--bg); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.lp-sec--alt .lp-theme { background: var(--bg); }
.lp-theme:hover {
  transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.08);
}
.lp-theme[hidden] { display: none; }
.lp-theme__img {
  position: relative; aspect-ratio: 3/4; background: var(--c-soft);
}
.lp-theme__img img { width: 100%; height: 100%; object-fit: cover; }
.lp-theme__tier {
  position: absolute; top: 8px; right: 8px; padding: .18rem .55rem;
  font-size: .64rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: #fff; background: #a8730f;
  border-radius: 100px;
}
.lp-theme__body { padding: .8rem .9rem 1rem; }
.lp-theme__body b { display: block; font-size: .9rem; margin-bottom: .2rem; }
.lp-theme__body small {
  font-size: .76rem; color: var(--mute); line-height: 1.5; display: block;
}

/* ---------- Fitur ---------- */
.lp-feats { display: grid; gap: .8rem; }
.lp-feat {
  padding: 1.2rem; background: var(--panel);
  border: 1px solid var(--line); border-radius: 14px;
  border-left: 3px solid var(--c);
}
.lp-feat b { display: block; margin-bottom: .3rem; font-size: .95rem; }
.lp-feat p { margin: 0; font-size: .86rem; color: var(--mute); }

/* ---------- Harga ---------- */
.lp-prices { display: grid; gap: 1rem; }
.lp-price {
  position: relative; padding: 1.8rem 1.4rem;
  background: var(--bg); border: 1px solid var(--line); border-radius: 18px;
}
.lp-price.is-fav {
  border-color: var(--c); border-width: 2px;
  box-shadow: 0 12px 34px color-mix(in srgb, var(--c) 14%, transparent);
}
.lp-price__badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  padding: .3rem .9rem; font-size: .7rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
  color: #fff; background: var(--c); border-radius: 100px; white-space: nowrap;
}
.lp-price h3 { margin: 0 0 .4rem; font-size: 1.15rem; font-weight: 700; }
.lp-price__amt {
  margin: 0; font-size: 2rem; font-weight: 800; color: var(--c);
  letter-spacing: -.02em; line-height: 1.1;
}
.lp-price__per { margin: .2rem 0 .9rem; font-size: .78rem; color: var(--mute); }
.lp-price__desc { margin: 0 0 1rem; font-size: .86rem; color: var(--mute); }
.lp-price__list { list-style: none; margin: 0 0 1.4rem; padding: 0; }
.lp-price__list li {
  position: relative; padding-left: 1.5rem; margin-bottom: .4rem;
  font-size: .87rem;
}
.lp-price__list li::before {
  content: '✓'; position: absolute; left: 0; color: var(--c); font-weight: 800;
}
.lp-price .lp-btn { width: 100%; }

/* ---------- Langkah ---------- */
.lp-steps {
  list-style: none; margin: 0; padding: 0; counter-reset: s;
  display: grid; gap: .7rem; max-width: 640px; margin-inline: auto;
}
.lp-steps li {
  counter-increment: s; position: relative;
  padding: 1.1rem 1.2rem 1.1rem 3.6rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
}
.lp-steps li::before {
  content: counter(s); position: absolute; left: 1.1rem; top: 1.1rem;
  display: grid; place-items: center; width: 28px; height: 28px;
  font-size: .8rem; font-weight: 800; color: #fff; background: var(--c);
  border-radius: 50%;
}
.lp-steps b { display: block; font-size: .95rem; margin-bottom: .15rem; }
.lp-steps span { font-size: .86rem; color: var(--mute); }

/* ---------- FAQ ---------- */
.lp-faq {
  background: var(--bg); border: 1px solid var(--line); border-radius: 12px;
  padding: 1rem 1.2rem; margin-bottom: .6rem;
}
.lp-faq summary {
  font-size: .95rem; font-weight: 600; cursor: pointer; list-style: none;
  display: flex; align-items: flex-start; gap: .7rem;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::marker { content: ''; }
.lp-faq summary::before {
  content: '+'; flex: 0 0 auto; width: 20px; font-size: 1.2rem;
  line-height: 1.2; color: var(--c); font-weight: 400;
}
.lp-faq[open] summary::before { content: '−'; }
.lp-faq p {
  margin: .7rem 0 0 1.7rem; font-size: .88rem; color: var(--mute);
}

/* ---------- CTA penutup ---------- */
.lp-cta {
  padding-block: clamp(3rem, 10vw, 5rem);
  background: linear-gradient(150deg, var(--c), var(--c-dark));
  color: #fff; text-align: center;
}
.lp-cta h2 {
  margin: 0 0 .7rem; font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 800; letter-spacing: -.02em;
}
.lp-cta p {
  margin: 0 auto 1.8rem; max-width: 40ch; font-size: .95rem; opacity: .9;
}

/* ---------- Footer ---------- */
.lp-foot { padding-block: 2.5rem 1.5rem; background: var(--ink); color: #fff; }
.lp-foot__in { display: grid; gap: 1.6rem; }
.lp-foot__brand b { font-size: 1.05rem; font-weight: 800; }
.lp-foot__brand p { margin: .4rem 0 0; font-size: .86rem; opacity: .6; }
.lp-foot__links { display: grid; gap: .55rem; }
.lp-foot__links a {
  font-size: .88rem; color: #fff; opacity: .72; text-decoration: none;
}
.lp-foot__links a:hover { opacity: 1; }
.lp-foot__bottom {
  margin-top: 2rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .78rem; opacity: .5;
}

/* Tombol WhatsApp mengambang */
.lp-wa {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  display: grid; place-items: center; width: 52px; height: 52px;
  color: #fff; background: #25d366; border-radius: 50%;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  transition: transform .2s;
}
.lp-wa:hover { transform: scale(1.08); }
.lp-wa svg { width: 27px; height: 27px; }

@supports (padding: max(0px)) {
  .lp-wa { bottom: max(16px, env(safe-area-inset-bottom)); }
}

/* ---------- Animasi masuk ---------- */
.lp [data-r] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .7s cubic-bezier(.22,1,.36,1),
              transform .7s cubic-bezier(.22,1,.36,1);
}
.lp [data-r].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .lp { scroll-behavior: auto; }
  .lp [data-r] { opacity: 1; transform: none; transition: none; }
  .lp-btn:hover, .lp-theme:hover, .lp-wa:hover { transform: none; }
}

/* ==========================================================================
   Layar lebih lebar
   ========================================================================== */

@media (min-width: 560px) {
  .lp-themes { grid-template-columns: repeat(3, 1fr); }
  .lp-hero__act .lp-btn { flex: 0 0 auto; }
  .lp-ticks { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 860px) {
  .lp-nav__links { display: flex; }
  .lp-hero__in {
    grid-template-columns: 1.05fr .95fr;
    grid-template-areas: "head art" "ticks art" "act art";
    align-content: center; column-gap: 2.5rem; row-gap: 1.6rem;
  }
  .lp-hero__art { align-self: center; }
  .lp-grid3 { grid-template-columns: repeat(3, 1fr); }
  .lp-feats { grid-template-columns: repeat(2, 1fr); }
  .lp-prices { align-items: start; }
  .lp-themes { grid-template-columns: repeat(4, 1fr); }
  .lp-filters { justify-content: center; }
  .lp-ticks { grid-template-columns: repeat(3, 1fr); }
  .lp-foot__in { grid-template-columns: 1.4fr 1fr; }
  .lp-foot__links {
    grid-template-columns: repeat(2, 1fr); align-content: start;
  }
}

/* ---------- Logo ---------- */
.lp-brand.has-logo { display: flex; align-items: center; }
.lp-brand.has-logo img {
  height: 32px; width: auto; max-width: 180px; object-fit: contain;
}
.lp-foot__logo { display: inline-flex; align-items: center; text-decoration: none;
  color: #fff; font-size: 1.05rem; font-weight: 800; }
.lp-foot__logo.has-logo img {
  height: 30px; width: auto; max-width: 170px; object-fit: contain;
  filter: brightness(0) invert(1);
}

@media (max-width: 560px) {
  .lp-brand.has-logo img { height: 26px; max-width: 130px; }
}

/* ---------- Fitur dengan ikon ---------- */
.lp-feat { display: flex; gap: .9rem; align-items: flex-start; }
.lp-feat__ico {
  flex: 0 0 auto; display: grid; place-items: center;
  width: 42px; height: 42px; color: var(--c);
  background: var(--c-soft); border-radius: 12px;
}
.lp-feat__ico svg { width: 22px; height: 22px; }
.lp-feat > div { min-width: 0; }

/* ---------- Harga selalu satu baris di layar lebar ---------- */
@media (min-width: 900px) {
  .lp-prices {
    grid-template-columns: repeat(var(--lp-cols, 3), minmax(0, 1fr));
  }
  .lp-price { padding: 1.6rem 1.1rem; }
  .lp-price__amt { font-size: 1.7rem; }
  .lp-price__list li { font-size: .82rem; }
}

/* Lima paket atau lebih perlu kolom yang lebih ramping */
@media (min-width: 1140px) {
  .lp-price { padding: 1.8rem 1.3rem; }
  .lp-price__amt { font-size: 1.9rem; }
}

/* ---------- Footer atribusi ---------- */
.lp-foot__bottom { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; }
.lp-foot__bottom a {
  color: #fff; opacity: .85; text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.3);
}
.lp-foot__bottom a:hover { opacity: 1; }

/* ---------- Header sedikit lebih besar ---------- */
.lp-nav__in { padding-block: 1rem; }
.lp-brand { font-size: 1.12rem; }
.lp-brand.has-logo img { height: 36px; max-width: 195px; }
.lp-nav__links a { font-size: .94rem; }
.lp-nav__act .lp-btn { min-height: 44px; padding: .62rem 1.25rem; font-size: .89rem; }

@media (max-width: 560px) {
  .lp-brand.has-logo img { height: 30px; max-width: 145px; }
  .lp-nav__act .lp-btn { min-height: 42px; padding: .58rem 1.05rem; font-size: .85rem; }
}

/* ==========================================================================
   Katalog Tema Mode Slide
   ========================================================================== */
.lp-themes {
  display: flex; gap: .8rem; margin-bottom: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; scrollbar-width: none;
  padding-block: .3rem;
  /* Sisi kiri-kanan dinegatifkan agar kartu bisa menyentuh tepi layar
     saat digeser, tapi kartu pertama tetap sejajar dengan judul. */
  margin-inline: -1.2rem; padding-inline: 1.2rem;
  scroll-padding-left: 1.2rem;
}
.lp-themes::-webkit-scrollbar { display: none; }
.lp-theme {
  flex: 0 0 auto; width: clamp(150px, 44vw, 200px);
  scroll-snap-align: start;
}

.lp-slide-nav { display: none; gap: .5rem; justify-content: flex-end;
  margin-bottom: 1.6rem; }
.lp-arrow {
  width: 42px; height: 42px; padding: 0; font-size: 1.05rem;
  color: var(--c); background: transparent;
  border: 1px solid var(--line); border-radius: 50%; cursor: pointer;
  transition: background .2s, color .2s;
}
.lp-arrow:hover { color: #fff; background: var(--c); border-color: var(--c); }
.lp-arrow[disabled] { opacity: .35; pointer-events: none; }

@media (min-width: 860px) {
  .lp-slide-nav { display: flex; }
  .lp-theme { width: 220px; }
}

/* ==========================================================================
   Blog
   ========================================================================== */
.lp-posts { display: grid; gap: 1rem; margin-bottom: 1.8rem; }
.lp-post {
  display: block; text-decoration: none; color: inherit;
  border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
  background: var(--panel);
  transition: transform .3s, box-shadow .3s;
}
.lp-sec--alt .lp-post { background: var(--bg); }
.lp-post:hover {
  color: inherit; transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.lp-post__img {
  display: block; aspect-ratio: 16/9; background: var(--c-soft);
}
.lp-post__img img { width: 100%; height: 100%; object-fit: cover; }
.lp-post__body { display: block; padding: 1rem 1.1rem 1.2rem; }
.lp-post__date {
  display: block; margin-bottom: .35rem; font-size: .72rem; font-style: normal;
  letter-spacing: .06em; text-transform: uppercase; color: var(--c);
}
.lp-post__body b {
  display: block; font-size: 1rem; line-height: 1.4; margin-bottom: .35rem;
}
.lp-post__body small {
  display: block; font-size: .84rem; color: var(--mute); line-height: 1.6;
}

@media (min-width: 720px) {
  .lp-posts { grid-template-columns: repeat(3, 1fr); }
}

/* ==========================================================================
   Header Ponsel: Logo | Profil | Menu

   Visibilitas diatur MURNI lewat media query, tanpa aturan display di
   luar keduanya. Mencampur "display:none" global dengan "display:grid"
   pada kelas lain membuat keduanya bertabrakan tergantung urutan
   penulisan — dan tombol menu hilang tanpa jejak.
   ========================================================================== */

.lp-ico-btn {
  place-items: center; flex: 0 0 auto;
  width: 42px; height: 42px; padding: 0;
  color: var(--ink); background: transparent;
  border: 1px solid var(--line); border-radius: 12px;
  cursor: pointer; text-decoration: none;
  transition: border-color .2s, color .2s, background .2s;
}
.lp-ico-btn:hover { color: var(--c); border-color: var(--c); background: var(--c-soft); }
.lp-ico-btn svg { width: 22px; height: 22px; }

.lp-burger { gap: 4px; }
.lp-burger span {
  display: block; width: 18px; height: 2px;
  background: currentColor; border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* Animasi jadi tanda silang saat panel terbuka */
.lp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.lp-menu {
  border-top: 1px solid var(--line); background: var(--panel);
  padding: .5rem 1.2rem 1.1rem;
  animation: lp-menu-in .22s ease;
}
.lp-menu[hidden] { display: none; }
.lp-menu a {
  display: block; padding: .85rem .2rem; font-size: .95rem; font-weight: 500;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.lp-menu a:last-of-type { border-bottom: 0; }
.lp-menu__cta {
  margin-top: .7rem; padding: .85rem !important; text-align: center;
  color: #fff !important; background: var(--c); border-radius: 100px;
  border-bottom: 0 !important; font-weight: 600;
}
@keyframes lp-menu-in { from { opacity: 0; transform: translateY(-6px); } }

/* Satu-satunya tempat visibilitas ditentukan */
@media (max-width: 859px) {
  .lp-show-sm { display: grid; }
  .lp-hide-sm { display: none; }
  .lp-nav__act { gap: .4rem; }
}

@media (min-width: 860px) {
  .lp-show-sm { display: none; }
  .lp-hide-sm { display: inline-flex; }
  .lp-menu { display: none; }
}

/* Geser halus dimatikan bila pengunjung meminta gerak minimal —
   JavaScript sudah menghentikan putar otomatisnya. */
@media (prefers-reduced-motion: reduce) {
  .lp-themes { scroll-behavior: auto; }
}

/* ==========================================================================
   Halaman WordPress: Blog, Artikel, Arsip, 404
   ========================================================================== */

.lp-wp__main { padding-block: clamp(2rem, 7vw, 3.5rem) clamp(2.5rem, 9vw, 4.5rem); }

/* ---------- Kepala arsip ---------- */
.wp-archive__head { margin-bottom: 2rem; text-align: center; }
.wp-archive__head h1 {
  margin: 0 0 .5rem; font-size: clamp(1.6rem, 6.5vw, 2.4rem);
  font-weight: 800; letter-spacing: -.02em;
}
.wp-archive__head p {
  margin: 0 auto; max-width: 48ch; font-size: .95rem; color: var(--mute);
}

/* ---------- Artikel ---------- */
.wp-article { max-width: 100%; }
.wp-article__head { margin-bottom: 1.6rem; }
.wp-cat {
  display: inline-block; margin-bottom: .7rem;
  padding: .3rem .85rem; font-size: .72rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase; text-decoration: none;
  color: var(--c); background: var(--c-soft); border-radius: 100px;
}
.wp-article__head h1 {
  margin: 0 0 .6rem; font-size: clamp(1.6rem, 6.5vw, 2.4rem);
  font-weight: 800; line-height: 1.22; letter-spacing: -.02em;
}
.wp-meta { margin: 0; font-size: .84rem; color: var(--mute); }

.wp-hero { margin: 0 0 1.8rem; border-radius: 16px; overflow: hidden; }
.wp-hero img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* ---------- Isi tulisan ---------- */
.wp-content { font-size: 1rem; line-height: 1.85; color: var(--ink); }
.wp-content > * { margin-block: 0 1.2rem; }
.wp-content > *:last-child { margin-bottom: 0; }

.wp-content h2 {
  margin-top: 2.2rem; font-size: clamp(1.25rem, 5vw, 1.55rem);
  font-weight: 800; line-height: 1.3; letter-spacing: -.01em;
}
.wp-content h3 {
  margin-top: 1.8rem; font-size: clamp(1.08rem, 4.4vw, 1.25rem); font-weight: 700;
}
.wp-content h4 { margin-top: 1.5rem; font-size: 1.02rem; font-weight: 700; }

.wp-content p { color: color-mix(in srgb, var(--ink) 88%, transparent); }
.wp-content a { color: var(--c); text-decoration: underline; text-underline-offset: 3px; }

.wp-content ul, .wp-content ol { padding-left: 1.4rem; }
.wp-content li { margin-bottom: .5rem; }
.wp-content li::marker { color: var(--c); }

.wp-content blockquote {
  margin-inline: 0; padding: 1rem 1.3rem;
  border-left: 3px solid var(--c); background: var(--c-soft);
  border-radius: 0 12px 12px 0; font-style: italic;
}
.wp-content blockquote p:last-child { margin-bottom: 0; }

/* Media selalu menyusut mengikuti lebar layar */
.wp-content img,
.wp-content video,
.wp-content iframe,
.wp-content embed,
.wp-content object {
  max-width: 100%; height: auto; border-radius: 12px;
}
.wp-content iframe { aspect-ratio: 16/9; width: 100%; }
.wp-content figure { margin-inline: 0; }
.wp-content figcaption {
  margin-top: .5rem; font-size: .82rem; color: var(--mute); text-align: center;
}

/* Tabel dan kode digeser, bukan meluber */
.wp-content table {
  width: 100%; border-collapse: collapse; font-size: .9rem;
  display: block; overflow-x: auto;
}
.wp-content th, .wp-content td {
  padding: .6rem .8rem; border: 1px solid var(--line); text-align: left;
}
.wp-content th { background: var(--c-soft); font-weight: 700; }

.wp-content pre {
  padding: 1rem 1.2rem; overflow-x: auto; font-size: .86rem;
  background: var(--ink); color: #f2f5f3; border-radius: 12px;
}
.wp-content code {
  padding: .12rem .38rem; font-size: .88em;
  background: var(--c-soft); border-radius: 5px;
}
.wp-content pre code { padding: 0; background: none; color: inherit; }

.wp-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 2rem; }

/* ---------- Tag ---------- */
.wp-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2rem; }
.wp-tags a {
  padding: .35rem .85rem; font-size: .8rem; text-decoration: none;
  color: var(--mute); border: 1px solid var(--line); border-radius: 100px;
}
.wp-tags a:hover { color: var(--c); border-color: var(--c); background: var(--c-soft); }

/* ---------- Ajakan di akhir artikel ---------- */
.wp-cta {
  margin-top: 2.5rem; padding: 1.8rem 1.5rem; text-align: center;
  background: var(--c-soft); border-radius: 18px;
}
.wp-cta b { display: block; font-size: 1.15rem; font-weight: 800; margin-bottom: .4rem; }
.wp-cta p { margin: 0 auto 1.2rem; max-width: 40ch; font-size: .92rem; color: var(--mute); }

/* ---------- Paginasi ---------- */
.wp-pager {
  display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center;
  margin-top: 2.2rem;
}
.wp-pager .page-numbers {
  display: grid; place-items: center; min-width: 42px; height: 42px;
  padding-inline: .8rem; font-size: .88rem; font-weight: 600;
  text-decoration: none; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px;
}
.wp-pager .page-numbers:hover { color: var(--c); border-color: var(--c); }
.wp-pager .page-numbers.current {
  color: #fff; background: var(--c); border-color: var(--c);
}
.wp-pager .dots { border: 0; }

/* ---------- Kosong & 404 ---------- */
.wp-empty { padding-block: 2.5rem; text-align: center; }
.wp-empty h1, .wp-empty h2 {
  margin: 0 0 .6rem; font-size: clamp(1.4rem, 6vw, 2rem); font-weight: 800;
}
.wp-empty p { margin: 0 auto 1.5rem; max-width: 44ch; color: var(--mute); }
.wp-empty__act {
  display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center;
  margin-top: 1.4rem;
}
.wp-empty form { display: flex; gap: .5rem; max-width: 380px; margin-inline: auto; }
.wp-empty input[type=search], .wp-empty input[type=text] {
  flex: 1; min-width: 0; padding: .75rem 1rem; font: inherit; font-size: 16px;
  border: 1px solid var(--line); border-radius: 100px; background: var(--panel);
}
.wp-empty input[type=submit], .wp-empty button {
  padding: .75rem 1.3rem; font: inherit; font-size: .88rem; font-weight: 600;
  color: #fff; background: var(--c); border: 0; border-radius: 100px; cursor: pointer;
}

/* ---------- Komentar ---------- */
.wp-comments { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.wp-comments h2, .wp-comments h3 { font-size: 1.15rem; font-weight: 800; }
.wp-comments ol, .wp-comments ul { list-style: none; padding-left: 0; }
.wp-comments .comment-body {
  padding: 1rem 1.2rem; margin-bottom: .8rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
}
.wp-comments input:not([type=submit]), .wp-comments textarea {
  width: 100%; padding: .7rem .9rem; font: inherit; font-size: 16px;
  border: 1px solid var(--line); border-radius: 10px; background: var(--panel);
}
.wp-comments input[type=submit] {
  padding: .8rem 1.6rem; font: inherit; font-weight: 600; color: #fff;
  background: var(--c); border: 0; border-radius: 100px; cursor: pointer;
}

/* Beranda blog tidak butuh CTA ganda */
.lp-wp .lp-cta { margin-top: 0; }

/* Header landing menempel di semua ukuran layar.
   Dinyatakan ulang di akhir berkas agar tidak tertimpa aturan mana pun. */
.lp-nav { position: sticky; top: 0; z-index: 50; }
