/* Fase D1 footer (owner, 4 Nov 2026): Huel structure, Seed word, black with grey cells. footer.php, footer-d1.js */
.fpd { position: relative; overflow: hidden; background: #050607; color: #c9c9d1; font-size: 14px; line-height: 1.55; }
.fpd__cv { position: absolute; left: 0; right: 0; bottom: 0; top: auto; width: 100%; height: 40%; display: block; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 40%); mask-image: linear-gradient(to bottom, transparent, #000 40%); } /* D4.6 (owner, 5 Nov 2026): cells only in the bottom part (JS sizes it to the word), behind the FreshPen word, fading to plain black above */
.fpd__in { position: relative; max-width: 1200px; margin: 0 auto; padding: 64px 32px 0; }
.fpd a { color: #c9c9d1; text-decoration: none; }
.fpd a:hover { color: #fff; }
.fpd a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 2px; }
.fpd__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.fpd__logo { display: inline-block; margin-bottom: 10px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; color: #f1f1f3 !important; }
.fpd__brand p { max-width: 280px; margin: 0 0 16px; }
/* Fase D6.9 (owner, 5 Nov 2026 malam): a plain footer link, no white pill; the official green WhatsApp logo before white text */
.fpd__wa { display: inline-flex; align-items: center; gap: 8px; padding: 5px 0; color: #fff !important; font-size: 14px; }
.fpd__wa:hover { text-decoration: underline; text-underline-offset: 3px; }
.fpd__wa-logo { display: block; flex: none; width: 20px; height: 20px; }
.fpd__ct { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: #f1f1f3; }
.fpd__col a { display: block; padding: 5px 0; }
.fpd__pay { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 44px; padding-top: 22px; border-top: 1px solid #1f2025; font-size: 13px; color: #8f8f9a; }
.fpd__cards { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.fpd__cards img { display: block; width: 38px; height: 24px; border-radius: 3px; background: #fff; object-fit: contain; }
.fpd__cards img[src*="/bca."] { box-sizing: border-box; padding: 5px 3px; } /* D1.17: the bank next to the cards (owner: "bank2 kredit card") */
.fpd__cards em { margin-left: 4px; font-style: normal; font-weight: 600; color: #c9c9d1; }
.fpd__bar { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-size: 13px; color: #8f8f9a; }
.fpd__bar a { color: #8f8f9a; }
.fpd__mark { display: flex; overflow: hidden; margin: 36px 0 0; padding: 0 0 .1em; font-weight: 700; font-size: clamp(76px, 18.5vw, 270px); line-height: .86; letter-spacing: -.055em; white-space: nowrap; color: #f1f1f3; }
.fpd__mark span { display: inline-block; }
.fpd-js .fpd__mark span { transform: translateY(105%); transition: transform .9s cubic-bezier(.2, .75, .1, 1); transition-delay: calc(var(--i) * 55ms); }
.fpd-js .fpd__mark.is-on span { transform: none; }
@media (max-width: 767px) {
  .fpd__in { padding: 44px 16px 0; }
  .fpd__cols { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
  .fpd__brand { grid-column: 1 / -1; }
  /* D1.6b: the word ends before the fixed button column (right 14px + 50px) and has room below it, as SS10;
     the bar text stays clear of the back-to-top button */
  .fpd__mark { font-size: min(76px, 18vw); margin-top: 28px; padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px)); }
  .fpd__bar { padding-right: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .fpd-js .fpd__mark span { transform: none; transition: none; }
}
