/* ============================================================
   GenFin — Design System
   Portal Edukasi & Perbandingan Finansial Indonesia
   Tema: Trust (Navy) + aksen Hijau. Plus Jakarta Sans + Source Serif 4.
   Referensi tema WordPress — semua warna/komponen pakai token.
   ============================================================ */

:root {
  /* Brand — Navy (trust) */
  --navy-950: #07182b;
  --navy-900: #0a2540;
  --navy-800: #0e3258;
  --navy-700: #15406f;
  --navy-600: #1d5694;
  --blue-600: #1466b8;
  --blue-500: #2f86db;
  --blue-50:  #eef5fc;

  /* Accent — Green (action / verified) */
  --green-700: #146a45;
  --green-600: #178a57;
  --green-500: #1fa566;
  --green-100: #d9f1e4;
  --green-50:  #ecf8f1;

  /* Support */
  --amber-600: #b3791a;
  --amber-100: #fbeccb;
  --red-600:   #c23b3b;
  --red-50:    #fbecec;
  --violet-600:#6741b5;

  /* Neutrals */
  --ink:      #14202e;
  --slate-800:#26384a;
  --slate-700:#34465a;
  --slate-600:#4b5d70;
  --slate-500:#697a8c;
  --slate-400:#90a0b0;
  --slate-300:#c2cdd8;
  --slate-200:#dde5ec;
  --slate-100:#eef2f6;
  --slate-50: #f6f9fb;
  --paper:    #ffffff;
  --bg:       #f4f7fa;

  /* Typography */
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  /* Radii & shadow */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --sh-sm: 0 1px 2px rgba(10,37,64,.06), 0 1px 3px rgba(10,37,64,.08);
  --sh-md: 0 4px 14px rgba(10,37,64,.08), 0 2px 6px rgba(10,37,64,.06);
  --sh-lg: 0 18px 48px rgba(10,37,64,.14), 0 6px 16px rgba(10,37,64,.08);

  --wrap: 1200px;
  --gut: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { line-height: 1.18; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; color: var(--navy-900); }
h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
small { font-size: .82rem; }
::selection { background: var(--green-100); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-narrow { max-width: 820px; margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(40px, 6vw, 72px); }
.section-tight { padding-block: clamp(28px, 4vw, 44px); }
.muted { color: var(--slate-500); }
.center { text-align: center; }
.mono { font-variant-numeric: tabular-nums; }

/* ---------- Utility / eyebrow ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--green-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green-600); border-radius: 2px; }
.section-head { margin-bottom: 26px; }
.section-head .row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.section-head p { margin: .35em 0 0; color: var(--slate-500); max-width: 60ch; }

/* ============================================================
   TOP UTILITY BAR + HEADER
   ============================================================ */
.utilitybar {
  background: var(--navy-950);
  color: #b9c8d8;
  font-size: .8rem;
}
.utilitybar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.utilitybar a { color: #cdd9e6; }
.utilitybar .ub-note { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.utilitybar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-500); box-shadow: 0 0 0 3px rgba(31,165,102,.2); }
.utilitybar nav { display: flex; gap: 18px; }
.utilitybar nav a:hover { color: #fff; text-decoration: none; }
.utility-links { display: flex; gap: 14px; flex-wrap: wrap; }

.siteheader { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--slate-200); }
.siteheader .bar { display: flex; align-items: center; gap: 16px; min-height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.32rem; color: var(--navy-900); letter-spacing: -.02em; line-height: 1; min-width: 0; max-width: 100%; flex: 0 1 auto; }
.brand:hover { text-decoration: none; }
.brand .logo {
  width: 38px; height: 38px; flex: none; display: block; overflow: hidden;
  filter: drop-shadow(0 1px 2px rgba(10,37,64,.18));
}
.brand .logo img,
.brand .logo svg { width: 100%; height: 100%; display: block; }
.brand-copy { display: flex; flex-direction: column; min-width: 0; overflow: hidden; white-space: nowrap; }
.brand-wordmark { display: inline-flex; align-items: baseline; font-size: 1.42rem; font-weight: 800; letter-spacing: -.022em; line-height: 1; color: currentColor; }
.brand-wordmark-base { color: currentColor; }
.brand-wordmark-accent { color: var(--green-500); }
.brand .tag { font-size: .57rem; font-weight: 600; letter-spacing: .1em; color: var(--slate-400); text-transform: uppercase; display: block; margin-top: 4px; }
.brand-compact { gap: 10px; }
.brand-compact .logo { width: 34px; height: 34px; }
.brand-compact .brand-wordmark { font-size: 1.2rem; letter-spacing: -.02em; }
.brand-compact .tag { display: none; }

.mainnav { display: flex; gap: 2px; margin-left: 2px; }
.mainnav a {
  color: var(--slate-800); font-weight: 600; font-size: .92rem; padding: 9px 11px; border-radius: var(--r-sm); white-space: nowrap;
}
.mainnav a:hover { background: var(--slate-100); text-decoration: none; color: var(--navy-900); }
.mainnav a.active { color: var(--navy-900); background: var(--blue-50); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.searchbtn {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--slate-200); background: var(--slate-50); color: var(--slate-500);
  font-size: .9rem; cursor: pointer; font-family: inherit; min-width: 0;
}
.searchbtn .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.searchbtn svg { width: 17px; height: 17px; flex: none; }
.searchbtn:hover { border-color: var(--slate-300); background: #fff; }
.searchbtn kbd { margin-left: auto; font-size: .68rem; background: #fff; border: 1px solid var(--slate-200); border-radius: 5px; padding: 1px 6px; color: var(--slate-400); }
.menutoggle { display: none; }
.menutoggle svg { width: 22px; height: 22px; }
.mobile-only { display: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-family: inherit; font-weight: 700; font-size: .95rem; line-height: 1;
  padding: 13px 20px; border-radius: var(--r-sm); border: 1px solid transparent; cursor: pointer;
  transition: transform .08s ease, box-shadow .15s ease, background .15s ease; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--green-600); color: #fff; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.btn-primary:hover { background: var(--green-700); box-shadow: var(--sh-md); color: #fff; }
.btn-navy { background: var(--navy-900); color: #fff; }
.btn-navy:hover { background: var(--navy-800); color: #fff; box-shadow: var(--sh-md); }
.btn-ghost { background: #fff; color: var(--navy-900); border-color: var(--slate-200); }
.btn-ghost:hover { border-color: var(--slate-300); background: var(--slate-50); }
.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: #fff; }
.btn-sm { padding: 9px 14px; font-size: .86rem; }
.btn-lg { padding: 16px 26px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-link { background: none; border: none; color: var(--blue-600); font-weight: 700; padding: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-family: inherit; font-size: .95rem; }
.btn-link:hover { gap: 9px; }
.btn-link svg { width: 15px; height: 15px; transition: transform .15s; }

/* ============================================================
   BADGES / CHIPS / INTENT
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700;
  letter-spacing: .02em; padding: 4px 10px; border-radius: 999px; line-height: 1.3;
}
.badge-cat { background: var(--blue-50); color: var(--blue-600); }
.badge-info { background: var(--blue-50); color: var(--blue-600); }
.badge-fin { background: var(--green-50); color: var(--green-700); }
.badge-card { background: #efe9fb; color: var(--violet-600); }
.badge-legal { background: var(--amber-100); color: var(--amber-600); }
.badge-verified { background: var(--green-100); color: var(--green-700); }
.badge-soft { background: var(--slate-100); color: var(--slate-600); }
.badge-warn { background: var(--amber-100); color: var(--amber-600); }
.badge svg { width: 12px; height: 12px; }

/* Intent funnel pills — the "mesin intent" surfaced subtly */
.intent {
  display: inline-flex; align-items: center; gap: 6px; font-size: .7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .07em; padding: 3px 9px 3px 8px; border-radius: 6px;
}
.intent::before { content: ""; width: 7px; height: 7px; border-radius: 2px; }
.intent-awareness { background: #eef5fc; color: var(--blue-600); }
.intent-awareness::before { background: var(--blue-500); }
.intent-consider { background: #fff4e1; color: var(--amber-600); }
.intent-consider::before { background: var(--amber-600); }
.intent-commercial { background: #fdeede; color: #c2691a; }
.intent-commercial::before { background: #d97a1f; }
.intent-transactional { background: var(--green-100); color: var(--green-700); }
.intent-transactional::before { background: var(--green-600); }

/* Funnel meter: small 4-step indicator */
.funnel-meter { display: inline-flex; gap: 3px; align-items: center; }
.funnel-meter span { width: 16px; height: 5px; border-radius: 3px; background: var(--slate-200); }
.funnel-meter[data-level="1"] span:nth-child(-n+1),
.funnel-meter[data-level="2"] span:nth-child(-n+2),
.funnel-meter[data-level="3"] span:nth-child(-n+3),
.funnel-meter[data-level="4"] span:nth-child(-n+4) { background: var(--green-500); }

.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--slate-200); background: #fff; color: var(--slate-700); font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: all .12s;
}
.chip:hover { border-color: var(--green-500); color: var(--green-700); text-decoration: none; }
.chip.active { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.chip-row { display: flex; flex-wrap: wrap; gap: 9px; }

/* ============================================================
   CARDS
   ============================================================ */
.card { background: var(--paper); border: 1px solid var(--slate-200); border-radius: var(--r-md); box-shadow: var(--sh-sm); }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Article card */
.acard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .14s, box-shadow .14s, border-color .14s; }
.acard:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--slate-300); }
.acard .thumb { aspect-ratio: 16/9; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); }
.acard .thumb .topbadges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 8px; z-index: 2; }
.acard .body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.acard h3 { font-size: 1.12rem; margin-bottom: 8px; }
.acard h3 a { color: var(--navy-900); }
.acard h3 a:hover { color: var(--blue-600); text-decoration: none; }
.acard .excerpt { color: var(--slate-500); font-size: .92rem; margin-bottom: 14px; }
.acard .meta { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: .8rem; color: var(--slate-500); padding-top: 12px; border-top: 1px solid var(--slate-100); }
.acard .meta .avatar { width: 26px; height: 26px; border-radius: 50%; background: var(--slate-200); display: grid; place-items: center; font-size: .72rem; font-weight: 700; color: var(--slate-600); flex: none; }

/* thumbnail iconographic pattern */
.thumb-art { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.92); }
.thumb-art svg { width: 64px; height: 64px; opacity: .92; }
.thumb-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 80% 10%, rgba(255,255,255,.18), transparent 60%); }
.thumb-pat { position: absolute; inset: 0; opacity: .14; background-image: radial-gradient(circle at 1px 1px, #fff 1.2px, transparent 0); background-size: 16px 16px; }

/* List row (compact archive) */
.listrow { display: grid; grid-template-columns: 132px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--slate-200); align-items: center; }
.listrow .lthumb { aspect-ratio: 16/10; border-radius: var(--r-sm); overflow: hidden; position: relative; background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); }
.listrow h3 { font-size: 1.08rem; margin-bottom: 5px; }
.listrow .lmeta { font-size: .82rem; color: var(--slate-500); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   CREDIT CARD product card
   ============================================================ */
.ccard { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.ccard:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }
.cc-visual {
  height: 132px; padding: 16px 18px; color: #fff; position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
}
.cc-visual.v-cashback { background: linear-gradient(120deg, #0c3b2e, var(--green-600)); }
.cc-visual.v-travel { background: linear-gradient(120deg, #102a52, var(--blue-600)); }
.cc-visual.v-premium { background: linear-gradient(120deg, #1a1320, #4a3357); }
.cc-visual.v-everyday { background: linear-gradient(120deg, var(--navy-900), var(--navy-600)); }
.cc-visual .chiplogo { width: 34px; height: 25px; border-radius: 5px; background: linear-gradient(135deg, #e8d28a, #b8922f); box-shadow: inset 0 0 0 1px rgba(255,255,255,.3); }
.cc-visual .netw { font-weight: 800; letter-spacing: .03em; font-size: .92rem; opacity: .96; align-self: flex-end; }
.cc-visual .bankname { font-size: .8rem; opacity: .85; font-weight: 600; }
.cc-visual .prodname { font-weight: 700; font-size: 1.06rem; }
.cc-visual::after { content: ""; position: absolute; right: -30px; top: -30px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.06); }
.cc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.cc-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 4px 0 14px; }
.cc-spec .k { font-size: .72rem; color: var(--slate-500); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.cc-spec .v { font-size: .95rem; font-weight: 700; color: var(--navy-900); }
.cc-foot { margin-top: auto; display: flex; gap: 9px; align-items: stretch; }
.cc-foot .btn { flex: 1 1 0; min-width: 0; white-space: nowrap; }

/* ============================================================
   AD SLOTS / MONETIZATION placeholders
   ============================================================ */
.adslot {
  border: 1.5px dashed var(--slate-300); border-radius: var(--r-md); background:
    repeating-linear-gradient(45deg, var(--slate-50), var(--slate-50) 11px, #fff 11px, #fff 22px);
  display: grid; place-items: center; text-align: center; color: var(--slate-400);
  position: relative; min-height: 96px; padding: 18px;
}
.adslot::before { content: "IKLAN"; position: absolute; top: 7px; left: 10px; font-size: .6rem; font-weight: 800; letter-spacing: .14em; color: var(--slate-400); }
.adslot .label { font-weight: 700; font-size: .86rem; color: var(--slate-500); }
.adslot .dim { font-size: .74rem; color: var(--slate-400); margin-top: 2px; }
.adslot-leaderboard { min-height: 110px; }
.adslot-rect { min-height: 250px; }
.adslot-inline { min-height: 120px; }

.sponsored-tag { display: inline-flex; align-items: center; gap: 5px; font-size: .68rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--amber-600); background: var(--amber-100); padding: 3px 8px; border-radius: 5px; }

/* Affiliate / outbound CTA box */
.affiliate-box { border: 1px solid var(--green-500); background: var(--green-50); border-radius: var(--r-md); padding: 18px 20px; }
.affiliate-box .disc { font-size: .76rem; color: var(--green-700); margin-top: 10px; display: flex; gap: 7px; align-items: flex-start; }

/* Lead / newsletter */
.leadbox { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); position: relative; overflow: hidden; }
.leadbox::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(31,165,102,.34), transparent 70%); }
.leadbox h2, .leadbox h3 { color: #fff; }
.leadbox p { color: #c4d2e0; }
.leadform { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 2; }
.leadform input { flex: 1; min-width: 220px; }

/* ============================================================
   FORMS
   ============================================================ */
.input, input[type="text"], input[type="email"], input[type="number"], input[type="search"], select, textarea {
  width: 100%; font-family: inherit; font-size: .96rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--slate-300); border-radius: var(--r-sm); background: #fff;
}
.input:focus, input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px var(--blue-50); }
label.field { display: block; }
label.field .lab { font-weight: 700; font-size: .86rem; color: var(--slate-700); margin-bottom: 6px; display: block; }
.help { font-size: .8rem; color: var(--slate-500); margin-top: 6px; }

/* ============================================================
   TABLES — comparison
   ============================================================ */
.table-scroll { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--slate-200); }
table.cmp { border-collapse: collapse; width: 100%; min-width: 720px; background: #fff; }
table.cmp th, table.cmp td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--slate-200); font-size: .92rem; vertical-align: top; }
table.cmp thead th { background: var(--navy-900); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; position: sticky; top: 0; }
table.cmp tbody tr:hover { background: var(--slate-50); }
table.cmp td.rowhead { font-weight: 700; color: var(--slate-700); background: var(--slate-50); white-space: nowrap; }
table.cmp .yes { color: var(--green-600); font-weight: 700; }
table.cmp .no { color: var(--slate-400); }

/* ============================================================
   BREADCRUMB / PAGE HERO
   ============================================================ */
.breadcrumb { font-size: .84rem; color: var(--slate-500); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; padding: 14px 0; }
.breadcrumb a { color: var(--slate-600); }
.breadcrumb .sep { color: var(--slate-300); }

.pagehero { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; position: relative; overflow: hidden; }
.pagehero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.6) 1px, transparent 0); background-size: 26px 26px; opacity: .05; }
.pagehero .wrap { position: relative; z-index: 2; padding-block: clamp(34px, 5vw, 56px); }
.pagehero h1 { color: #fff; max-width: 20ch; }
.pagehero p { color: #c4d2e0; max-width: 60ch; font-size: 1.06rem; }
.pagehero .breadcrumb { color: #9db1c6; }
.pagehero .breadcrumb a { color: #c4d2e0; }
.pagehero .breadcrumb .sep { color: #5b748f; }

/* ============================================================
   CALLOUTS
   ============================================================ */
.callout { border-radius: var(--r-md); padding: 16px 18px; display: flex; gap: 13px; font-size: .92rem; }
.callout svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.callout-info { background: var(--blue-50); color: var(--navy-800); }
.callout-warn { background: var(--amber-100); color: #7a5410; }
.callout-disclaimer { background: var(--slate-100); color: var(--slate-700); border: 1px solid var(--slate-200); }
.callout strong { display: block; margin-bottom: 2px; }

/* Source / verified strip */
.verified-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: .84rem; color: var(--slate-600); background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--r-sm); padding: 11px 15px; }
.verified-strip .vi { display: inline-flex; align-items: center; gap: 7px; }
.verified-strip svg { width: 16px; height: 16px; color: var(--green-600); }

.source-chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--slate-200); border-radius: 999px; background: #fff; font-size: .82rem; font-weight: 600; color: var(--slate-700); }
.source-chip .o { width: 7px; height: 7px; border-radius: 50%; background: var(--green-500); }

/* ============================================================
   STAT / FEATURE tiles
   ============================================================ */
.stat-tiles { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.stat { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-md); padding: 18px; }
.stat .num { font-size: 1.9rem; font-weight: 800; color: var(--navy-900); line-height: 1; letter-spacing: -.02em; }
.stat .lab { font-size: .84rem; color: var(--slate-500); margin-top: 6px; }

.feature-tile { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-md); padding: 22px; transition: border-color .14s, box-shadow .14s; display: block; }
.feature-tile:hover { border-color: var(--green-500); box-shadow: var(--sh-md); text-decoration: none; }
.feature-tile .ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 14px; }
.feature-tile h3 { font-size: 1.08rem; margin-bottom: 6px; }
.feature-tile p { color: var(--slate-500); font-size: .9rem; margin: 0; }
.ic-blue { background: var(--blue-50); color: var(--blue-600); }
.ic-green { background: var(--green-50); color: var(--green-700); }
.ic-violet { background: #efe9fb; color: var(--violet-600); }
.ic-amber { background: var(--amber-100); color: var(--amber-600); }
.feature-tile .ic svg { width: 22px; height: 22px; }

/* Category nav tiles */
.cattile { position: relative; overflow: hidden; border-radius: var(--r-lg); padding: 24px; color: #fff; min-height: 168px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .15s, box-shadow .15s; }
.cattile:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); text-decoration: none; }
.cattile h3 { color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.cattile p { color: rgba(255,255,255,.85); font-size: .88rem; margin: 0; }
.cattile .ic { position: absolute; top: 20px; left: 24px; opacity: .9; }
.cattile .ic svg { width: 30px; height: 30px; }
.cattile .count { position: absolute; top: 22px; right: 24px; font-size: .8rem; font-weight: 700; background: rgba(255,255,255,.16); padding: 4px 11px; border-radius: 999px; }
.cattile.c-info { background: linear-gradient(140deg, var(--navy-800), var(--blue-600)); }
.cattile.c-fin { background: linear-gradient(140deg, #0c4a32, var(--green-600)); }
.cattile.c-card { background: linear-gradient(140deg, #2c1d4a, var(--violet-600)); }
.cattile.c-legal { background: linear-gradient(140deg, #5a3d10, var(--amber-600)); }

/* ============================================================
   ARTICLE BODY (serif reading)
   ============================================================ */
.article-body { font-family: var(--serif); font-size: 1.16rem; line-height: 1.78; color: #2a3949; }
.article-body p { margin: 0 0 1.15em; }
.article-body h2 { font-family: var(--sans); font-size: 1.6rem; margin: 1.7em 0 .5em; }
.article-body h3 { font-family: var(--sans); font-size: 1.24rem; margin: 1.5em 0 .4em; }
.article-body ul, .article-body ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.article-body li { margin-bottom: .5em; }
.article-body a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.article-body blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--green-500); font-style: italic; color: var(--slate-700); }
.article-body strong { color: var(--navy-900); }
.toc { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--r-md); padding: 18px 20px; }
.toc .tt { font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--slate-500); margin-bottom: 10px; }
.toc ol { margin: 0; padding-left: 1.1em; font-size: .92rem; }
.toc li { margin-bottom: 6px; }

/* Layout with sidebar */
.with-aside { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 40px; align-items: start; }
.aside-sticky { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 22px; }
.aside-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-md); padding: 18px; }
.aside-card .at { font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--slate-500); margin-bottom: 12px; }

/* Next-step / funnel internal-link module */
.nextstep { border: 1px solid var(--green-500); background: linear-gradient(135deg, var(--green-50), #fff); border-radius: var(--r-md); padding: 18px 20px; }
.nextstep .ns-lab { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--green-700); display: flex; align-items: center; gap: 7px; margin-bottom: 8px; }
.nextstep h3 { font-size: 1.08rem; margin-bottom: 6px; }
.nextstep p { font-size: .9rem; color: var(--slate-600); margin-bottom: 12px; }

/* ============================================================
   FOOTER
   ============================================================ */
.sitefooter { background: var(--navy-950); color: #aebfcf; margin-top: 40px; }
.footer-sources { border-bottom: 1px solid rgba(255,255,255,.08); padding-block: 22px; }
.footer-sources .wrap { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-sources .ftitle { font-size: .8rem; font-weight: 700; color: #7e93a8; letter-spacing: .04em; text-transform: uppercase; }
.footer-sources .schip { font-size: .82rem; font-weight: 600; color: #cdd9e6; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 6px 13px; }
.footer-main { padding-block: clamp(40px, 5vw, 56px); }
.footer-main .grid-foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.footer-main h4 { color: #fff; font-size: .92rem; letter-spacing: .03em; margin-bottom: 14px; }
.footer-main ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-main a { color: #aebfcf; font-size: .9rem; }
.footer-main a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 12px; }
.footer-brand .brand .brand-wordmark-accent { color: #7fe3ad; }
.footer-brand .brand .tag { color: #7e93a8; }
.footer-brand p { font-size: .88rem; color: #8ca0b5; max-width: 38ch; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-block: 20px; }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #7e93a8; }
.footer-disclaimer { font-size: .8rem; color: #7e93a8; max-width: 90ch; margin-top: 6px; line-height: 1.6; }

/* ============================================================
   SEARCH OVERLAY
   ============================================================ */
.search-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(7,24,43,.55); backdrop-filter: blur(4px); display: none; align-items: flex-start; justify-content: center; padding-top: 12vh; }
.search-overlay.open { display: flex; }
.search-panel { background: #fff; width: min(640px, 92vw); border-radius: var(--r-lg); box-shadow: var(--sh-lg); overflow: hidden; }
.search-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 22px 22px 14px; border-bottom: 1px solid var(--slate-200); }
.search-head h2 { font-size: 1.3rem; margin-bottom: 0; }
.search-form-panel { display: flex; gap: 12px; padding: 18px 22px 14px; border-bottom: 1px solid var(--slate-100); }
.search-panel .si { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--slate-200); }
.search-panel input { border: none; padding: 0; font-size: 1.15rem; }
.search-panel input:focus { box-shadow: none; }
.search-suggest { padding: 14px 20px 20px; }
.search-suggest .st { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--slate-400); margin-bottom: 10px; }
.search-suggest a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); color: var(--slate-700); font-size: .94rem; }
.search-suggest a:hover { background: var(--slate-50); text-decoration: none; }
.search-results { padding: 14px 20px 20px; }

/* Pagination */
.pagination { display: flex; gap: 7px; align-items: center; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--slate-200); background: #fff; font-weight: 700; font-size: .9rem; color: var(--slate-600); }
.pagination a:hover { border-color: var(--navy-900); color: var(--navy-900); text-decoration: none; }
.pagination .cur { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }

/* Divider */
.hr { height: 1px; background: var(--slate-200); border: none; margin: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .stat-tiles { grid-template-columns: repeat(2,1fr); }
  .with-aside { grid-template-columns: 1fr; }
  .aside-sticky { position: static; }
  .footer-main .grid-foot { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 1180px) {
  .siteheader .brand { gap: 10px; }
  .siteheader .brand .logo { width: 36px; height: 36px; }
  .siteheader .brand-wordmark { font-size: 1.3rem; }
  .siteheader .brand .tag { font-size: .54rem; letter-spacing: .09em; }
}
@media (max-width: 1040px) {
  .mainnav, .searchbtn .txt { display: none; }
  .menutoggle { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--slate-200); background: #fff; cursor: pointer; }
  .searchbtn { min-width: auto; padding: 11px; }
  .searchbtn kbd { display: none; }
  .utilitybar nav { display: none; }
  .mobile-only { display: inline-grid; }
  .siteheader .bar { gap: 12px; }
  .siteheader .brand { gap: 10px; margin-right: auto; }
  .siteheader .brand .logo { width: 35px; height: 35px; }
  .siteheader .brand-wordmark { font-size: 1.2rem; }
  .siteheader .brand .tag { display: none; }
  .header-actions { gap: 8px; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
  .listrow { grid-template-columns: 92px 1fr; }
  .listrow .lcta { display: none; }
  .footer-main .grid-foot { grid-template-columns: 1fr; }
  h1 { font-size: 1.9rem; }
  .utility-links { display: none; }
  .search-form-panel { flex-direction: column; }
  .siteheader .bar { min-height: 64px; gap: 10px; }
  .siteheader .brand { gap: 9px; }
  .siteheader .brand .logo { width: 32px; height: 32px; }
  .siteheader .brand-wordmark { font-size: 1.08rem; }
}

/* Mobile slide menu */
.mobile-menu, .mobile-drawer { position: fixed; inset: 0; z-index: 150; display: none; }
.mobile-menu.open, .mobile-drawer.open { display: block; }
.mobile-menu .scrim, .mobile-drawer .mobile-scrim { position: absolute; inset: 0; background: rgba(7,24,43,.5); }
.mobile-menu .panel, .mobile-drawer .panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: #fff; padding: 22px; overflow-y: auto; box-shadow: var(--sh-lg); }
.mobile-menu .panel a { display: block; padding: 13px 12px; border-radius: var(--r-sm); color: var(--navy-900); font-weight: 600; }
.mobile-menu .panel a:hover { background: var(--slate-50); text-decoration: none; }
.mobile-menu .panel .mlabel { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); margin: 14px 0 10px; font-weight: 800; }
.mobile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.mobile-head h2 { margin: 0; font-size: 1.16rem; }
.mobile-body { display: flex; flex-direction: column; gap: 18px; }
.mobile-group h3 { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--slate-400); margin: 0 0 10px; }
.mobile-link { display: block; padding: 13px 12px; border-radius: var(--r-sm); color: var(--navy-900); font-weight: 600; }
.mobile-link:hover { background: var(--slate-50); text-decoration: none; }
.mobile-link strong, .nav-link strong { display: block; margin-bottom: 2px; }
.mobile-link span, .nav-link span { display: block; font-size: .78rem; color: var(--slate-500); font-weight: 500; }

/* helpers */
.flex { display: flex; }
.items-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.wrap-flex { flex-wrap: wrap; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.fade-up { opacity: 0; transform: translateY(14px); animation: fadeUp .5s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fade-up { animation: none; opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Keyboard focus — visible ring on every interactive element */
:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; border-radius: 6px; }
a:focus:not(:focus-visible), button:focus:not(:focus-visible) { outline: none; }
.cattile:focus-visible, .acard a.thumb:focus-visible, .feature-tile:focus-visible { outline-offset: 4px; }

/* Skip to content */
.skip-link { position: fixed; left: 12px; top: -64px; z-index: 400; background: var(--navy-900); color: #fff; padding: 11px 18px; border-radius: 10px; font-weight: 700; box-shadow: var(--sh-lg); transition: top .16s ease; }
.skip-link:focus { top: 12px; text-decoration: none; }

/* Generic icon button */
.iconbtn { border: none; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--slate-500); width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center; font-family: inherit; }
.iconbtn:hover { background: var(--slate-100); color: var(--navy-900); }

/* Higher-contrast muted text (WCAG AA on white) */
.muted { color: var(--slate-600); }

/* ============================================================
   LIVE SEARCH RESULTS
   ============================================================ */
.search-panel .si { position: relative; }
.search-panel .si > svg { width: 22px; height: 22px; flex: none; color: var(--slate-400); }
.search-suggest a > svg { width: 16px; height: 16px; flex: none; color: var(--slate-400); }
#gfSearchClose { margin-left: auto; }
.search-suggest a { display: flex; align-items: center; gap: 11px; padding: 10px; border-radius: var(--r-sm); color: var(--slate-700); }
.search-suggest a.active { background: var(--blue-50); box-shadow: inset 0 0 0 2px var(--blue-500); text-decoration: none; }
.res-type { font-size: .62rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 4px 7px; border-radius: 5px; flex: none; min-width: 56px; text-align: center; }
.res-artikel { background: var(--blue-50); color: var(--blue-600); }
.res-kartu { background: #efe9fb; color: var(--violet-600); }
.res-tools { background: var(--green-50); color: var(--green-700); }
.res-quiz { background: #fff4e1; color: var(--amber-600); }
.res-legal { background: var(--amber-100); color: var(--amber-600); }
.res-halaman { background: var(--slate-100); color: var(--slate-600); }
.res-body { display: flex; flex-direction: column; min-width: 0; }
.res-label { font-weight: 600; color: var(--navy-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.res-sub { font-size: .78rem; color: var(--slate-500); }
.res-all { justify-content: center; font-weight: 700; color: var(--blue-600); margin-top: 4px; border-top: 1px solid var(--slate-100); border-radius: 0 0 var(--r-sm) var(--r-sm); }
.search-suggest .st strong { color: var(--navy-900); }

/* ============================================================
   PAGINATION (interactive)
   ============================================================ */
.pagination button { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--slate-200); background: #fff; font-weight: 700; font-size: .9rem; color: var(--slate-600); cursor: pointer; font-family: inherit; }
.pagination button:hover:not(:disabled) { border-color: var(--navy-900); color: var(--navy-900); }
.pagination button.cur { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }
.pagination .gap { border: none; background: none; cursor: default; min-width: 20px; }
.pagination .gap:hover { border: none; color: var(--slate-600); }

/* Next-Best-Action band (anti-bounce, adaptif intent) */
#gfNba { background: linear-gradient(135deg, var(--navy-900), var(--navy-700)); color: #fff; position: relative; overflow: hidden; }
#gfNba::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(31,165,102,.3), transparent 70%); }
#gfNba.nba-hot::after { background: radial-gradient(circle, rgba(31,165,102,.42), transparent 70%); }
#gfNba.nba-warm::after { background: radial-gradient(circle, rgba(179,121,26,.34), transparent 70%); }
#gfNba .nba-inner { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: clamp(28px, 4vw, 40px); }
#gfNba .nba-copy { max-width: 56ch; }
#gfNba .nba-step { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #7fe3ad; margin-bottom: 8px; }
#gfNba.nba-warm .nba-step { color: #f0c479; }
#gfNba h2 { color: #fff; margin: 0 0 6px; font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
#gfNba p { color: #c4d2e0; margin: 0; }
#gfNba .nba-actions { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 720px) { #gfNba .nba-actions { width: 100%; } #gfNba .nba-actions .btn { flex: 1; } }

/* ============================================================
   INTENT-AWARE AD SLOTS
   ============================================================ */
.adslot[data-ad]::before { display: none; }
.adslot[data-rendered] { padding: 0; overflow: hidden; }
.adslot[aria-busy="true"] { overflow: hidden; }
.adslot .ad-inner { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; width: 100%; height: 100%; min-height: inherit; padding: 14px 16px; text-align: left; }
.adslot .ad-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.adslot .ad-type { font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--slate-500); }
.adslot .ad-activated { font-size: .64rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--amber-600); background: var(--amber-100); padding: 2px 7px; border-radius: 5px; }
.adslot .ad-mid { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.adslot .ad-value { font-size: .82rem; font-weight: 700; color: var(--slate-600); }
.adslot .ad-flags { display: flex; gap: 6px; flex-wrap: wrap; }
.adslot .adflag { font-size: .64rem; font-weight: 700; color: var(--slate-500); background: var(--slate-100); border-radius: 4px; padding: 2px 6px; }
.adslot .ad-bot { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .7rem; color: var(--slate-400); }
.adslot .ad-place { font-family: ui-monospace, monospace; font-weight: 600; }
.adslot .ad-lock { font-size: .9rem; font-weight: 700; color: var(--slate-600); }
.adslot .ad-sub { font-size: .76rem; color: var(--slate-500); margin-top: 4px; }
.adslot .ad-privacy-link { border: none; background: transparent; color: var(--blue-600); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.adslot .ad-privacy-link:hover { color: var(--blue-700); text-decoration: underline; }
.adslot-ph { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: inherit; padding: 14px 16px; background: linear-gradient(135deg, var(--slate-50), #fff); }
.adslot-ph-top, .adslot-ph-meta { font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--slate-400); }
.adslot-ph-line { display: block; height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--slate-100), var(--slate-200), var(--slate-100)); background-size: 200% 100%; animation: adSk 1.2s ease-in-out infinite; }
.adslot-ph-line.short { width: 62%; }
@keyframes adSk { 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .adslot-ph-line { animation: none; } }

/* Variants */
.adslot.is-affiliate { border-style: solid; border-color: var(--green-500); background: var(--green-50); }
.adslot.is-affiliate .ad-type, .adslot.is-affiliate .ad-value { color: var(--green-700); }
.adslot.is-premium-static { border-style: solid; border-color: var(--blue-500); background: var(--blue-50); }
.adslot.is-premium-static .ad-type, .adslot.is-premium-static .ad-value { color: var(--blue-600); }
.adslot.is-sponsored { border-style: solid; border-color: var(--amber-600); background: var(--amber-100); }
.adslot.is-sponsored .ad-type, .adslot.is-sponsored .ad-value { color: var(--amber-600); }
.adslot.is-premium { border-style: solid; border-width: 1.5px; border-color: var(--amber-600); background: linear-gradient(135deg, var(--amber-100), #fff); box-shadow: 0 6px 18px rgba(179,121,26,.16); }
.adslot.is-premium .ad-type { color: var(--amber-600); }
.adslot.is-premium .ad-value { color: #8a5a12; }
.adslot.is-activated { animation: adPulse .5s ease; }
@keyframes adPulse { 0% { transform: scale(.985); } 60% { transform: scale(1.012); } 100% { transform: scale(1); } }
.adslot.is-locked { border-style: dashed; border-color: var(--slate-300); background: var(--slate-50); }
.adslot.is-consent-blocked { border-style: dashed; border-color: var(--slate-300); background: linear-gradient(135deg, var(--slate-50), #fff); }
@media (prefers-reduced-motion: reduce) { .adslot.is-activated { animation: none; } }

/* Lead capture unit (Fase 1) */
.adslot.is-lead { border-style: solid; border-color: var(--blue-500); background: linear-gradient(135deg, var(--blue-50), #fff); text-align: left; }
.adslot.is-lead .lead-unit { padding: 18px 18px 16px; width: 100%; }
.lead-tag { font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 8px; }
.lead-title { display: block; font-size: 1.04rem; color: var(--navy-900); margin-bottom: 5px; }
.lead-desc { font-size: .86rem; color: var(--slate-600); margin: 0 0 12px; }
.lead-form { display: flex; gap: 8px; }
.lead-form input { flex: 1; min-width: 0; padding: 10px 12px; font-size: .9rem; }
.lead-fine { font-size: .72rem; color: var(--slate-500); margin: 10px 0 0; }
.lead-fine a { color: var(--blue-600); }

/* Consent banner (UU PDP) */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-consent); background: #fff; border-top: 1px solid var(--slate-200); box-shadow: 0 -8px 28px rgba(10,37,64,.12); }
.consent-inner { max-width: var(--wrap); margin-inline: auto; padding: 16px var(--gut); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.consent-text { font-size: .88rem; color: var(--slate-600); flex: 1; min-width: 260px; }
.consent-text a { color: var(--blue-600); }
.consent-opts { display: flex; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--slate-700); width: 100%; order: 3; padding: 4px 0; }
.consent-opts label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.consent-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 600px) { .consent-actions { width: 100%; } .consent-actions .btn { flex: 1; } }

/* Exit-intent / lead modal */
.lead-modal { position: fixed; inset: 0; z-index: var(--z-modal-backdrop); display: none; align-items: center; justify-content: center; padding: 20px; }
.lead-modal.open { display: flex; }
.lead-modal-scrim { position: absolute; inset: 0; background: rgba(7,24,43,.55); backdrop-filter: blur(3px); }
.lead-modal-card { position: relative; z-index: var(--z-modal); background: #fff; width: min(440px, 94vw); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 30px 28px 26px; text-align: left; animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.lead-modal-card h2 { font-size: 1.4rem; margin: 4px 0 8px; }
.lead-modal-card .lead-desc { font-size: .94rem; color: var(--slate-600); margin-bottom: 16px; }
.lead-modal-card .lead-form input { padding: 12px 14px; }
.lead-modal-x { position: absolute; top: 12px; right: 14px; border: none; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--slate-400); }
.lead-modal-x:hover { color: var(--navy-900); }
@media (prefers-reduced-motion: reduce) { .lead-modal-card { animation: none; } }

/* ============================================================
   MOBILE-FIRST / TOUCH (iOS + Android)
   ============================================================ */
/* Sticky anchor ad (format mobile RPM tinggi) */
.adslot[data-anchor] { position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-anchor); min-height: 56px; border-radius: 0; border-left: none; border-right: none; border-bottom: none; margin: 0 !important; box-shadow: 0 -4px 16px rgba(10,37,64,.12); background: #fff; overflow: visible; }
.adslot[data-anchor] .ad-close { position: absolute; top: -28px; right: 8px; width: 26px; height: 26px; border-radius: 50%; border: none; background: rgba(10,37,64,.82); color: #fff; font-size: 1rem; line-height: 1; cursor: pointer; display: grid; place-items: center; box-shadow: var(--sh-sm); }
@supports (padding: env(safe-area-inset-bottom)) { .adslot[data-anchor] { padding-bottom: env(safe-area-inset-bottom); } }
body:has(.adslot[data-anchor]) { padding-bottom: 64px; }

/* iOS: input >=16px mencegah auto-zoom saat fokus */
input, input[type], select, textarea, .input { font-size: 16px; }
/* momentum scroll untuk tabel & area scroll */
.table-scroll, .seg-pills, .toolnav, .chip-row, .filterchips { -webkit-overflow-scrolling: touch; }
/* stack 2-kolom apa pun di mobile */
@media (max-width: 760px) { .stack-mobile { grid-template-columns: 1fr !important; gap: 22px !important; } }
/* safe-area (notch iPhone) untuk elemen fixed & footer */
@supports (padding: env(safe-area-inset-bottom)) {
  .consent-inner { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
  .compare-tray .wrap { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
  .intent-hud { bottom: calc(16px + env(safe-area-inset-bottom)); left: calc(12px + env(safe-area-inset-left)); }
  .sitefooter { padding-bottom: env(safe-area-inset-bottom); }
  .lead-modal { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}
/* target sentuh >=44px & tipografi nyaman di ponsel */
@media (max-width: 760px) {
  .chip, .seg-pill, .toolnav a, .island-tab, .legal-nav a, .pagination button, .pagination a,
  .mainnav a, .search-suggest a, .mobile-menu .panel a, .source-chip { min-height: 44px; }
  .chip, .seg-pill { display: inline-flex; align-items: center; }
  .btn { padding-block: 13px; }
  .btn-lg { padding-block: 15px; }
  h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .pagehero .wrap { padding-block: 26px 30px; }
  .section { padding-block: clamp(32px, 8vw, 44px); }
  /* hero discovery card di bawah teks; rapikan */
  .leadbox { padding: 22px; }
  table.cmp th, table.cmp td { padding: 12px 13px; }
  /* seg pills & toolnav bisa di-scroll horizontal, jangan terpotong */
  .seg-pills, .toolnav, .filterchips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .seg-pills::-webkit-scrollbar, .toolnav::-webkit-scrollbar { display: none; }
  .seg-pill, .toolnav a { white-space: nowrap; flex: 0 0 auto; }
}
/* layar sangat kecil */
@media (max-width: 380px) {
  :root { --gut: 14px; }
  .cc-specs { grid-template-columns: 1fr 1fr; }
  .stat-tiles { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   INTENT/MONETIZATION DEMO HUD
   ============================================================ */
.intent-hud { position: fixed; left: 16px; bottom: 16px; z-index: 120; font-size: 13px; }
.intent-hud .hud-tab { display: inline-flex; align-items: center; gap: 8px; background: var(--navy-900); color: #fff; border: none; border-radius: 999px; padding: 9px 15px; font-weight: 700; font-family: inherit; cursor: pointer; box-shadow: var(--sh-lg); font-size: 13px; }
.intent-hud .hud-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--slate-400); box-shadow: 0 0 0 3px rgba(255,255,255,.18); }
.intent-hud .hud-dot.t-warm { background: var(--amber-600); }
.intent-hud .hud-dot.t-hot { background: var(--green-500); }
.intent-hud[data-collapsed="false"] .hud-tab { display: none; }
.intent-hud[data-collapsed="true"] .hud-body { display: none; }
.intent-hud .hud-body { width: 290px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 16px; }
.intent-hud .hud-head { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--navy-900); }
.intent-hud .hud-head strong { font-size: .92rem; }
.intent-hud .hud-demo { font-size: .6rem; font-weight: 800; letter-spacing: .08em; color: var(--violet-600); background: #efe9fb; padding: 2px 6px; border-radius: 4px; }
.intent-hud .hud-x { margin-left: auto; border: none; background: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: var(--slate-400); }
.intent-hud .hud-tier { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.intent-hud .hud-pill { font-size: .74rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.intent-hud .hud-pill.t-cold { background: var(--slate-100); color: var(--slate-600); }
.intent-hud .hud-pill.t-warm { background: var(--amber-100); color: var(--amber-600); }
.intent-hud .hud-pill.t-hot { background: var(--green-100); color: var(--green-700); }
.intent-hud .hud-score { font-weight: 800; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.intent-hud .hud-bar { height: 7px; background: var(--slate-100); border-radius: 5px; overflow: hidden; margin-bottom: 10px; }
.intent-hud .hud-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--green-500)); border-radius: 5px; transition: width .35s ease; }
.intent-hud .hud-serve { font-size: .8rem; color: var(--slate-600); background: var(--slate-50); border-radius: 8px; padding: 9px 11px; margin-bottom: 12px; }
.intent-hud .hud-serve-lab { font-weight: 700; color: var(--navy-900); }
.intent-hud .hud-actions { display: flex; gap: 8px; }
.intent-hud .hud-actions .btn { flex: 1; }
.intent-hud .hud-sig { margin-top: 12px; }
.intent-hud .hud-sig summary { font-size: .78rem; font-weight: 700; color: var(--slate-600); cursor: pointer; }
.intent-hud .hud-sig-row { display: flex; justify-content: space-between; font-size: .76rem; color: var(--slate-600); padding: 4px 0; border-bottom: 1px solid var(--slate-100); }
.intent-hud .hud-note { font-size: .72rem; color: var(--slate-500); margin: 12px 0 0; line-height: 1.5; }
@media (max-width: 600px) { .intent-hud { left: 10px; bottom: 10px; } }

/* ============================================================
   Z-INDEX TOKENS + OVERLAY ORCHESTRATION (chrome mobile)
   ============================================================ */
:root { --z-header: 100; --z-floating-cta: 300; --z-anchor: 400; --z-nba: 450; --z-consent: 700; --z-bottomsheet: 800; --z-modal-backdrop: 900; --z-modal: 1000; --z-hud: 1100; }
.siteheader { z-index: var(--z-header); }
.compare-tray { z-index: var(--z-floating-cta); }
.adslot[data-anchor] { z-index: var(--z-anchor); }
#gfNba { position: relative; z-index: var(--z-nba); }
.consent { z-index: var(--z-consent); }
.mobile-menu, .search-overlay, .lead-modal { z-index: var(--z-modal); }
.intent-hud { z-index: var(--z-hud); }

/* Sticky kolom pertama pada tabel banding (mobile) + affordance scroll */
table.cmp td:first-child, table.cmp th:first-child { position: sticky; left: 0; }
table.cmp thead th:first-child { z-index: 3; }
table.cmp td.rowhead { z-index: 2; box-shadow: 2px 0 0 var(--slate-200); }

/* Kontras intent pill — lolos WCAG AA */
.intent-awareness { color: #0d56a6; }
.intent-consider { color: #8a5712; }
.intent-commercial { color: #9a4a10; }
.intent-transactional { color: var(--green-700); }

/* Author trust card */
.author-trust { display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(135deg, var(--blue-50), #fff); border: 1px solid var(--slate-200); border-radius: var(--r-md); padding: 20px 22px; }
.author-trust .trust-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .82rem; color: var(--slate-600); align-items: center; }
.author-trust .trust-meta a { color: var(--blue-600); font-weight: 600; }
.author-trust .trust-meta strong { color: var(--navy-900); }

/* Image slot (siap diganti foto nyata; fallback gradien + label) */
.image-slot { position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, var(--navy-800), var(--blue-600)); }
.image-slot > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.image-slot[data-empty]::after { content: attr(data-label); position: absolute; left: 10px; bottom: 10px; font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.85); background: rgba(0,0,0,.25); padding: 3px 8px; border-radius: 5px; }

/* Aksen warna per kategori (variasi visual) */
.acc-credit { --acc: var(--blue-600); }
.acc-loan { --acc: var(--amber-600); }
.acc-save { --acc: var(--green-600); }
.acc-insurance { --acc: var(--violet-600); }
.acc-local { --acc: #d9663a; }

/* ============================================================
   SKELETON LOADING + CLS GUARDS (#3)
   - GF.fillSkeletons() mengisi container [data-skeleton="tipe jumlah"]
     sebelum data dirender (anti layout-shift, hormati reduced-motion).
   - Tipe: acard, ccard, feat, stat, tile, row, chip, text,
     trows (baris tabel), calc (panel hasil), revhero.
   ============================================================ */
.sk { position: relative; overflow: hidden; background: var(--slate-100); border-radius: 6px; display: block; }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent); animation: skSweep 1.3s ease-in-out infinite; }
@keyframes skSweep { 100% { transform: translateX(100%); } }
.sk-on-dark { background: rgba(255,255,255,.13); }
.sk-on-dark::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent); }
@media (prefers-reduced-motion: reduce) { .sk::after { animation: none; opacity: 0; } }

.sk-line { height: 12px; }
.sk-circle { border-radius: 50%; flex: none; }
.sk-chip { height: 38px; width: 108px; border-radius: 999px; display: inline-block; flex: none; }
@media (max-width: 760px) { .sk-chip { height: 44px; } }

/* Cermin .acard */
.sk-acard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); }
.sk-acard .sk-thumb { aspect-ratio: 16/9; border-radius: 0; }
.sk-acard .skb { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.sk-acard .skmeta { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--slate-100); }

/* Cermin .ccard */
.sk-ccard { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-sm); display: flex; flex-direction: column; }
.sk-ccard .skv { height: 132px; border-radius: 0; }
.sk-ccard .skb { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sk-ccard .skspecs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.sk-ccard .skfoot { display: flex; gap: 9px; margin-top: auto; }
.sk-ccard .skfoot .sk { height: 38px; flex: 1; border-radius: var(--r-sm); }

/* Cermin .stat / .feature-tile / baris daftar / kartu mini */
.sk-stat { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-md); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.sk-tile { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 9px; }
.sk-tile .skic { width: 44px; height: 44px; border-radius: 11px; margin-bottom: 6px; }
.sk-rowitem { display: flex; gap: 12px; align-items: center; padding: 9px 0; }
.sk-rowitem .skl, .sk-minirow .skl { display: flex; flex-direction: column; gap: 7px; flex: 1; min-width: 0; }
.sk-minirow { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-md); box-shadow: var(--sh-sm); padding: 16px; display: flex; gap: 14px; align-items: center; }

/* Blok teks, baris tabel, panel hasil kalkulator (dark) */
.sk-text { display: flex; flex-direction: column; gap: 12px; }
.sk-calc { display: flex; flex-direction: column; gap: 14px; min-height: 270px; }
.sk-calc .skrr { display: flex; justify-content: space-between; gap: 20px; padding: 5px 0; }
table .sk-line { margin: 3px 0; }

/* Reservasi ruang (anti-CLS): slot iklan & area dinamis punya tinggi
   minimum sesuai ukuran kreatif sebelum dirender. */
[data-skeleton][aria-busy="true"] { pointer-events: none; }
.adslot[data-size="rect"], .adslot[data-size="300x250"], .adslot[data-size="300×250"], .adslot[data-ad*="300x250"], .adslot[data-ad*="300×250"] { min-height: 250px; }
.adslot[data-size="portrait"], .adslot[data-size="300x600"], .adslot[data-size="300×600"], .adslot[data-ad*="300x600"], .adslot[data-ad*="300×600"] { min-height: 600px; }
.adslot[data-size="anchor"], .adslot[data-size="320x50"], .adslot[data-size="320×50"], .adslot[data-ad*="320x50"], .adslot[data-ad*="320×50"] { min-height: 56px; }
.adslot[data-size="970x90"], .adslot[data-size="970×90"], .adslot[data-ad*="970x90"], .adslot[data-ad*="970×90"] { min-height: 90px; }
.adslot[data-size="970x250"], .adslot[data-size="970×250"], .adslot[data-ad*="970x250"], .adslot[data-ad*="970×250"] { min-height: 250px; }
.adslot[data-size="responsive"], .adslot[data-ad*="responsive"] { min-height: 130px; }
#stepBody { min-height: 280px; }
.image-slot[data-empty] { min-height: 120px; }

/* ============================================================
   FORM STATES (#4): validasi / loading / sukses / error / disabled
   ============================================================ */
.btn:disabled, .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; box-shadow: none; transform: none; }
.btn .spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: gfSpin .7s linear infinite; flex: none; }
@keyframes gfSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn .spin { animation-duration: 1.6s; } }
input.is-invalid { border-color: var(--red-600) !important; box-shadow: 0 0 0 3px var(--red-50) !important; }
.lead-err, .field-err { display: flex; gap: 6px; align-items: flex-start; width: 100%; font-size: .8rem; color: var(--red-600); font-weight: 600; margin: 7px 0 0; }
.lead-success { display: flex; gap: 9px; align-items: center; font-weight: 700; font-size: .92rem; color: var(--green-700); background: var(--green-50); border: 1px solid var(--green-100); border-radius: var(--r-sm); padding: 11px 14px; margin: 0; }
@keyframes gfShake { 0%, 100% { transform: none; } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
@media (prefers-reduced-motion: no-preference) { .gf-shake { animation: gfShake .3s ease; } }
.lead-form { align-items: flex-start; }
.lead-form[data-state="loading"] { opacity: .96; }
.lead-form[data-state="loading"] .btn { min-width: 134px; justify-content: center; }
.lead-form[data-state="loading"] .lead-form-status[data-kind="loading"] { color: var(--slate-600); }
.lead-form[data-state="success"] .lead-form-status[data-kind="success"] { color: var(--green-700); background: var(--green-50); border-color: var(--green-100); }
.lead-form[data-state="error"] .lead-form-status[data-kind="error"] { color: var(--red-600); background: var(--red-50); border-color: rgba(220, 38, 38, .14); }
.lead-form-status { display: none; width: 100%; margin: 7px 0 0; padding: 10px 12px; border: 1px solid var(--slate-200); border-radius: var(--r-sm); background: #fff; font-size: .82rem; font-weight: 600; line-height: 1.45; color: var(--slate-600); }
.lead-form-status:not([hidden]) { display: block; }
.lead-form input:disabled { background: var(--slate-50); color: var(--slate-500); }

/* ============================================================
   FUNNEL (#4): stepper aktif/selesai, ikon manfaat, recap, enter
   ============================================================ */
.fn-steps { display: flex; list-style: none; padding: 0; margin: 6px 0 28px; }
.fn-steps li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: var(--slate-500); text-align: center; }
.fn-steps li:not(:first-child)::before { content: ""; position: absolute; top: 15px; right: calc(50% + 22px); left: calc(-50% + 22px); height: 2px; border-radius: 2px; background: var(--slate-200); }
.fn-steps li.done:not(:first-child)::before, .fn-steps li.active:not(:first-child)::before { background: var(--green-500); }
.fn-steps .dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--slate-300); color: var(--slate-500); font-weight: 800; font-size: .8rem; position: relative; z-index: 1; transition: background .2s, border-color .2s, box-shadow .2s; }
.fn-steps .dot svg { width: 15px; height: 15px; }
.fn-steps li.done { color: var(--green-700); }
.fn-steps li.done .dot { background: var(--green-600); border-color: var(--green-600); color: #fff; }
.fn-steps li.active { color: var(--navy-900); }
.fn-steps li.active .dot { border-color: var(--green-600); color: var(--green-700); box-shadow: 0 0 0 4px var(--green-100); }
@media (max-width: 480px) { .fn-steps .lbl { display: none; } .fn-steps li { gap: 0; } .fn-steps li:not(:first-child)::before { right: calc(50% + 19px); left: calc(-50% + 19px); } }
/* varian warna ikon manfaat */
.fn-benefit .ic.v-blue { background: var(--blue-50); color: var(--blue-600); }
.fn-benefit .ic.v-violet { background: #efe9fb; color: var(--violet-600); }
.fn-benefit .ic.v-amber { background: var(--amber-100); color: var(--amber-600); }
.fn-benefit .ic.v-navy { background: var(--slate-100); color: var(--navy-800); }
/* ringkasan benefit di langkah pengajuan */
.fn-recap { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: var(--r-md); padding: 18px 20px; margin: 16px 0; }
.fn-recap .ri { display: flex; gap: 9px; align-items: center; font-size: .88rem; font-weight: 600; color: var(--slate-700); }
.fn-recap .ri svg { width: 15px; height: 15px; color: var(--green-600); flex: none; }
@media (max-width: 560px) { .fn-recap { grid-template-columns: 1fr; } }
/* microinteraction masuk per langkah (hormati reduced-motion) */
@media (prefers-reduced-motion: no-preference) {
  .fn-enter > * { opacity: 0; transform: translateY(10px); animation: fnIn .38s ease forwards; }
  .fn-enter > *:nth-child(2) { animation-delay: .05s; }
  .fn-enter > *:nth-child(3) { animation-delay: .1s; }
  .fn-enter > *:nth-child(4) { animation-delay: .15s; }
  .fn-enter > *:nth-child(5) { animation-delay: .2s; }
  .fn-enter > *:nth-child(n+6) { animation-delay: .25s; }
}
@keyframes fnIn { to { opacity: 1; transform: none; } }

/* ============================================================
   PAID-FLOW POLISH (end-to-end): trust per langkah, secure badge,
   redirect-sent, sticky CTA mobile, transisi ribbon halus.
   ============================================================ */
.fn-trust { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; font-size: .8rem; color: var(--slate-500); font-weight: 600; }
.fn-trust svg { width: 15px; height: 15px; flex: none; color: var(--green-600); }
.fn-secure { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; padding: 11px 14px; border: 1px solid var(--slate-200); border-radius: var(--r-md); background: var(--slate-50); font-size: .82rem; color: var(--slate-700); font-weight: 600; }
.fn-secure svg { width: 19px; height: 19px; flex: none; color: var(--green-600); }
.aff-sent { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--green-100); background: var(--green-50); border-radius: var(--r-md); animation: modalIn .3s ease; }
.aff-sent .h { display: flex; align-items: center; gap: 9px; color: var(--green-700); font-weight: 800; font-size: 1.02rem; }
.aff-sent .h svg { width: 21px; height: 21px; flex: none; }
.aff-sent p { margin: 0; font-size: .88rem; color: var(--slate-600); }
.fn-steps .dot { transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, color .25s ease; }
.reco-analyzing { display: flex; align-items: center; gap: 9px; }
.reco-analyzing .spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid var(--green-100); border-top-color: var(--green-600); animation: gfSpin .7s linear infinite; flex: none; }
@media (prefers-reduced-motion: reduce) { .aff-sent { animation: none; } .reco-analyzing .spin { animation-duration: 1.6s; } }
@media (max-width: 600px) {
  .fn-cta { background: var(--paper); box-shadow: 0 -8px 18px -10px rgba(10,37,64,.28); border-top: 1px solid var(--slate-200); padding: 12px 0 calc(10px + env(safe-area-inset-bottom)); border-radius: 14px 14px 0 0; }
}

/* ============================================================
   TOOLS HUB (#5): kartu per kalkulator
   ============================================================ */
.tool-hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 1000px) { .tool-hub-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .tool-hub-grid { grid-template-columns: 1fr; } }
.tool-card { background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-md); padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .14s, box-shadow .14s, transform .14s; }
.tool-card:hover { border-color: var(--green-500); box-shadow: var(--sh-md); transform: translateY(-2px); text-decoration: none; }
.tool-card .tc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tool-card .ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; }
.tool-card .ic svg { width: 22px; height: 22px; }
.tool-card .tc-time { font-size: .72rem; font-weight: 700; color: var(--slate-500); background: var(--slate-100); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.tool-card h3 { font-size: 1.06rem; margin: 0; }
.tool-card p { font-size: .88rem; color: var(--slate-500); margin: 0; flex: 1; }
.tool-card .tc-cta { font-weight: 700; color: var(--green-700); font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.tool-card .tc-cta svg { transition: transform .15s; }
.tool-card:hover .tc-cta svg { transform: translateX(3px); }
.tools-back { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .9rem; color: var(--slate-600); margin-bottom: 14px; }
.tools-back:hover { color: var(--navy-900); text-decoration: none; }

/* ============================================================
   GROUPED NAV (#5): mega-menu ringan desktop
   ============================================================ */
.mainnav .nav-item { position: relative; display: inline-flex; }
.mainnav .nav-top { display: inline-flex; align-items: center; gap: 5px; color: var(--slate-800); font-weight: 600; font-size: .92rem; padding: 9px 11px; border-radius: var(--r-sm); white-space: nowrap; border: none; background: none; cursor: pointer; font-family: inherit; }
.mainnav .nav-top:hover { background: var(--slate-100); color: var(--navy-900); }
.mainnav .nav-top[aria-expanded="true"] { background: var(--blue-50); color: var(--navy-900); }
.mainnav .nav-item.active > .nav-top,
.mainnav .nav-item.is-active > .nav-top { color: var(--navy-900); background: var(--blue-50); }
.mainnav .nav-top .caret { width: 13px; height: 13px; flex: none; color: var(--slate-400); transition: transform .15s; }
.mainnav .nav-top[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav-panel { position: absolute; top: calc(100% + 6px); left: 0; min-width: 268px; background: #fff; border: 1px solid var(--slate-200); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 8px; display: none; z-index: 120; }
.nav-item[data-open] .nav-panel { display: block; }
@media (prefers-reduced-motion: no-preference) { .nav-item[data-open] .nav-panel { animation: navIn .16s ease; } }
@keyframes navIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nav-panel a { display: block; padding: 9px 11px; border-radius: var(--r-sm); color: var(--navy-900); font-weight: 600; font-size: .9rem; }
.nav-panel a:hover { background: var(--slate-50); text-decoration: none; }
.nav-panel a .nd { display: block; font-weight: 500; font-size: .78rem; color: var(--slate-500); margin-top: 1px; }
.nav-panel .nav-link span { white-space: normal; }
.nav-panel .np-div { height: 1px; background: var(--slate-100); margin: 6px 4px; }
/* drawer mobile: deskripsi item */
.mobile-menu .panel a .nd,
.mobile-drawer .panel a .nd { display: block; font-size: .76rem; color: var(--slate-500); font-weight: 500; margin-top: 1px; }
