/* Visual refresh: a quiet, consistent layer over the existing components. */
body.refresh-2026 {
  --red: #941727;
  --red-dark: #62101e;
  --night: #291016;
  --gold: #9c783b;
  --gold-light: #ecd6a8;
  --ink: #241a1b;
  --muted: #62595a;
  --paper: #faf8f3;
  --soft: #f4efe6;
  --line: #e7ddd1;
  --shadow: 0 16px 42px rgba(55, 25, 27, .08);
  color: var(--ink);
  background: var(--paper);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}
body.refresh-2026 .site-header { background: #fffefa; border-bottom-color: #e9dfd4; }
body.refresh-2026 .brand { max-width: 190px; }
body.refresh-2026 .header-actions { flex-shrink: 0; }
body.refresh-2026 .header-cta { border-radius: 10px; background: var(--red); }
body.refresh-2026 .nav-panel { border-color: var(--line); box-shadow: var(--shadow); }
body.refresh-2026 :is(a,button,input,select,textarea,summary):focus-visible { outline: 3px solid #a87422; outline-offset: 3px; }
body.refresh-2026 :is(.button,.header-cta,.seo-button) { transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
body.refresh-2026 :is(.button-red,.button-light,.header-cta,.seo-button:not(.alt)):hover { background-color: #6c1020; }
body.refresh-2026 :is(.button,.header-cta,.seo-button):active { transform: translateY(1px); }
body.refresh-2026 button:disabled { cursor: not-allowed; }
body.refresh-2026 .button { border-radius: 11px; }
body.refresh-2026 :is(h1,h2,h3) { text-wrap: balance; }
body.refresh-2026 :is(.page-hero:not(.situasi-hero):not(.editorial-hero)) { background: linear-gradient(120deg,#fffdfa 0%,#f6eee3 100%); border-bottom: 1px solid var(--line); padding-block: clamp(52px,6vw,88px); }
body.refresh-2026 .page-hero:not(.situasi-hero):not(.editorial-hero) h1 { max-width: 18ch; line-height: 1.08; }
body.refresh-2026 .page-hero:not(.situasi-hero):not(.editorial-hero) .lead { max-width: 690px; line-height: 1.7; }
body.refresh-2026 .page-hero .eyebrow, body.refresh-2026 .eyebrow { letter-spacing: .12em; }
body.refresh-2026 .page-body { max-width: 960px; }
body.refresh-2026 .page-body > section { margin-bottom: clamp(44px,6vw,70px); }
body.refresh-2026 .page-body p { line-height: 1.8; }
body.refresh-2026 :is(.card,.calc,.m-kad,.alat-card,.situation,.seo-card) { border-color: var(--line); border-radius: 18px; box-shadow: 0 8px 24px rgba(55,25,27,.045); }
body.refresh-2026 :is(.card,.alat-card,.seo-card) { background: #fffefa; }
body.refresh-2026 .card { padding: clamp(22px,3vw,30px); }
body.refresh-2026 :is(.card,.alat-card,.seo-card) h3, body.refresh-2026 .seo-card strong { line-height: 1.3; }
body.refresh-2026 .alat-card:hover { border-color: #c7a768; box-shadow: var(--shadow); }
body.refresh-2026 .situation { border-color: #e7ddd1; }
body.refresh-2026 .situation-invite { border-color: var(--red); }
body.refresh-2026 .service-workspace { border-color: var(--line); box-shadow: var(--shadow); }
body.refresh-2026 .service-tabs button[aria-selected="true"] { background: var(--red); }
body.refresh-2026 .toc { gap: 9px; }
body.refresh-2026 .toc a { padding: 9px 15px; border-color: #dfd2c2; }
body.refresh-2026 .note { background: #f5eee2; border-left-color: #a9823f; border-radius: 0 12px 12px 0; }
body.refresh-2026 :is(.calc input,.m-kad input,.m-kad select,.m-hasil input,.m-hasil select,.pantas input) { border: 1px solid #cabfb4; border-radius: 9px; background: #fffefa; color: var(--ink); }
body.refresh-2026 :is(.calc input,.m-kad input,.m-kad select,.m-hasil input,.m-hasil select):focus-visible { border-color: var(--red); }
body.refresh-2026 :is(.calc-out,.m-hasil,.pantas-out) { background: #58101d; color: #fff; }
body.refresh-2026 :is(.calc-out,.m-hasil) { border-radius: 18px; box-shadow: var(--shadow); }
body.refresh-2026 .calc label, body.refresh-2026 .m-waris { border-color: var(--line); }
body.refresh-2026 .semak { padding: 15px 12px; border-color: var(--line); border-radius: 8px; }
body.refresh-2026 .semak:hover { background: #f5eee5; }
body.refresh-2026 .semak input { accent-color: var(--red); }
body.refresh-2026 .pilihan { padding: 15px 18px; border-radius: 12px; background: #fffefa; }
body.refresh-2026 .pilihan:hover { border-color: var(--red); }
body.refresh-2026 .pilihan.betul { background: #e7f0e6; border-color: #4d7a4f; }
body.refresh-2026 .pilihan.salah { background: #fae8e6; border-color: var(--red); }
body.refresh-2026 :is(.page-faq,.faq,.seo-faq) details { border-color: var(--line); }
body.refresh-2026 :is(.page-faq,.faq,.seo-faq) summary { line-height: 1.45; }
body.refresh-2026 :is(.page-faq,.faq,.seo-faq) details[open] summary { color: var(--red); }
body.refresh-2026 .share-table th { background: var(--red-dark); }
body.refresh-2026 .page-cta { background-color: #58101d; }
body.refresh-2026 .page-cta .button-light { background: #fffefa; color: #62101e; }
body.refresh-2026 .page-cta .button-light:hover { background: #f4e8d7; }
body.refresh-2026.seo-page { --seo-red: #941727; --seo-ink: #241a1b; --seo-muted: #62595a; --seo-paper: #faf8f3; --seo-line: #e7ddd1; }
body.refresh-2026 .seo-header { background: #fffefa; }
body.refresh-2026 .seo-button { border-radius: 11px; }
body.refresh-2026 .seo-button.alt { background: transparent; color: var(--seo-red); }
body.refresh-2026 .seo-card { padding: 28px; }
body.refresh-2026 .seo-note { border-radius: 0 12px 12px 0; }
@media (max-width: 760px) {
  body.refresh-2026 .site-header { padding-inline: 16px; gap: 8px; }
  body.refresh-2026 .brand { width: min(150px, 42vw); }
  body.refresh-2026 .header-actions { gap: 4px; }
  body.refresh-2026 .header-cta { padding: 10px 12px; }
  body.refresh-2026 .menu-toggle { width: 42px; height: 44px; }
  body.refresh-2026 .seo-nav { gap: 12px; }
  body.refresh-2026 .seo-brand { min-width: 0; }
  body.refresh-2026 .seo-brand img { width: min(150px, 44vw); }
  body.refresh-2026 .seo-back { white-space: nowrap; }
  body.refresh-2026 .page-body > section { margin-bottom: 42px; }
  body.refresh-2026.laman-utama .alat-card span { display: block; }
  body.refresh-2026.laman-utama .alat-card strong { font-size: 16px; }
  body.refresh-2026.laman-utama .alat-card { padding: 18px; }
}
@media (max-width: 420px) {
  body.refresh-2026.laman-utama .alat-grid { grid-template-columns: 1fr; }
  body.refresh-2026 .page-hero:not(.situasi-hero):not(.editorial-hero) h1 { overflow-wrap: anywhere; }
}
@media (prefers-reduced-motion: reduce) {
  body.refresh-2026 :is(.button,.header-cta,.seo-button,.alat-card) { transition: none; }
  body.refresh-2026 :is(.button,.header-cta,.seo-button):active, body.refresh-2026 .alat-card:hover { transform: none; }
}
/* Standalone faraid calculator and consultation drawer keep their existing behaviour. */
body.refresh-2026[data-page="kalkulator-faraid"] .top { background: #fffefa; border-bottom: 1px solid var(--line); }
body.refresh-2026[data-page="kalkulator-faraid"] .hero { background: linear-gradient(120deg,#57101c,#941727); }
body.refresh-2026[data-page="kalkulator-faraid"] :is(.result,.muna-cta) { border-color: var(--line); border-radius: 18px; box-shadow: var(--shadow); }
body.refresh-2026[data-page="kalkulator-faraid"] :is(.seg,.money,.stepper button,select) { border-color: #d2c6b9; }
body.refresh-2026[data-page="kalkulator-faraid"] .seg button[aria-pressed="true"] { background: var(--red); }
body.refresh-2026[data-page="kalkulator-faraid"] .examples button { background: #fffefa; border-color: #d2c6b9; }
body.refresh-2026 .zk-submit { border-radius: 11px; }
body.refresh-2026 .zk-field :is(input,select,textarea):focus-visible { outline: 3px solid #a87422; outline-offset: 2px; }
body.refresh-2026 .zk-lang a { border-color: #d9cbbc; }

