/* Achompany brand.css (C-36, 2026-11-17)
   Satu lembar gaya bersama untuk /, /mulai, deck pengenalan (di-inline oleh build), dan /blog (C-35).
   Token = BRAND_GUIDELINES.md "Working Color Palette" + "Typography Direction". Jangan tambah warna di sini
   tanpa guideline. Font: Plus Jakarta Sans dari Google Fonts (link di <head> tiap halaman), fallback Inter/Arial.
   Pasangan JS: brand.js (motif V1 + ikon V2). */
:root {
  --ach-teal: #123F3A;      /* Primary   Deep Teal: logo, heading, tombol utama */
  --ach-sage: #DDE9E2;      /* Secondary Warm Sage: latar lembut, section, highlight ringan */
  --ach-ivory: #F8F6F1;     /* Base      Soft Ivory: latar utama */
  --ach-charcoal: #1F2423;  /* Text      Charcoal */
  --ach-gold: #C7A15A;      /* Accent    Muted Gold: aksen kecil saja */
  --ach-coral: #C96F5F;     /* Alert     Soft Coral: penanda masalah/perhatian saja */
  --ach-white: #FFFFFF;     /* "Soft Ivory atau putih sebagai ruang napas" */
  /* turunan (campuran palet di atas, bukan warna baru) */
  --ach-sage-deep: #C5D7CB; /* sage dari logo primary */
  --ach-muted: #4A5A57;     /* teks kedua: charcoal x teal, kontras 7:1 di ivory */
  --ach-line: #D9E2DC;      /* garis tipis */
  --ach-teal-hover: #1A5149;
  --ach-font: "Plus Jakarta Sans", Inter, Arial, sans-serif;
}

/* ---------- tipografi dasar ---------- */
.ach body, body.ach { font-family: var(--ach-font); color: var(--ach-charcoal); background: var(--ach-ivory); -webkit-font-smoothing: antialiased; }

/* eyebrow: teks Deep Teal + garis pendek Muted Gold (bukan oranye/coral) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--ach-teal); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--ach-gold); flex: none; }

/* ---------- tombol: primary = Deep Teal solid + Soft Ivory; secondary = outline Teal ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  border: 1.5px solid var(--ach-teal); background: transparent; color: var(--ach-teal);
  font: inherit; font-weight: 700; text-decoration: none; text-align: center; cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--ach-sage); transform: translateY(-1px); }
.btn-primary { background: var(--ach-teal); color: var(--ach-ivory); }
.btn-primary:hover { background: var(--ach-teal-hover); color: var(--ach-ivory); }
.btn-secondary { background: transparent; color: var(--ach-teal); }
/* di atas latar Deep Teal: kebalikannya (ivory solid, teks teal) */
.on-teal .btn, .btn.on-teal { background: var(--ach-ivory); border-color: var(--ach-ivory); color: var(--ach-teal); }
.on-teal .btn:hover, .btn.on-teal:hover { background: var(--ach-sage); border-color: var(--ach-sage); }
.btn-small { min-height: 44px; padding: 8px 18px; font-size: .92rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--ach-gold); outline-offset: 3px;
}

/* label masalah (ORANG/UANG/WAKTU): teks charcoal + titik Soft Coral. Coral tidak dipakai untuk teks
   karena kontrasnya di ivory hanya ~3,4:1. */
.ach-problem { display: inline-flex; align-items: center; gap: 10px; color: var(--ach-charcoal); }
.ach-problem::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--ach-coral); flex: none; }

/* ---------- V1 motif "tercecer -> terpadu" ---------- */
.motif-v1 { display: block; position: relative; pointer-events: none; }
.motif-v1 .motif-v1-svg { display: block; width: 100%; height: auto; overflow: visible; }
.motif-v1 .sq {
  transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(var(--fs));
  animation: ach-settle 1.5s cubic-bezier(.2, .7, .2, 1) both;
  animation-delay: var(--dl);
}
@keyframes ach-settle {
  from { transform: translate(var(--sx), var(--sy)) rotate(var(--sr)) scale(var(--fs)); opacity: 0; }
  to   { transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(var(--fs)); opacity: var(--fo); }
}
.motif-v1-hero   { width: 100%; max-width: 640px; aspect-ratio: 622 / 454; }
.motif-v1-accent { width: 100%; max-width: 132px; aspect-ratio: 135 / 261; }
.motif-v1-corner { width: 210px; }

/* pembatas section: motif skala kecil (Warm Sage) yang menyambung jadi garis halus */
.motif-v1-rule {
  display: block; height: 22px; margin: 0 0 40px;
  background:
    url("motif-v1-rule.svg") left center / 220px 22px no-repeat,
    linear-gradient(var(--ach-sage-deep), var(--ach-sage-deep)) 222px center / calc(100% - 222px) 1px no-repeat;
}

/* ---------- V2 ikon layanan (hanya di konteks layanan) ---------- */
.ach-icon { display: block; width: 64px; height: 64px; flex: none; }
.ach-icon svg { display: block; width: 100%; height: 100%; }

@media (prefers-reduced-motion: reduce) {
  .motif-v1 .sq { animation: none; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}
/* mode ekspor PNG/PDF (?still): keadaan akhir tanpa animasi */
html.still *, html.still *::before, html.still *::after { animation: none !important; transition: none !important; }
