/* CuanRadar landing — keuangan tenang, terang */
:root {
  --bg: #f4f7f6;
  --bg-alt: #ecf3f1;
  --surface: #ffffff;
  --text: #134e4a;
  --text-ink: #0f172a;
  --text-muted: #3f5f5b;
  --teal: #0f766e;
  --teal-2: #115e59;
  --mint: #99f6e4;
  --mint-soft: #ccfbf1;
  --orange: #ea580c;
  --border: #d7e5e2;
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;
  --fs-xs: 0.875rem; --fs-sm: 0.9375rem; --fs-base: 1rem;
  --fs-md: 1.125rem; --fs-lg: 1.25rem;
  --fs-xl: clamp(1.5rem, 1.15rem + 1.5vw, 2.1rem);
  --fs-2xl: clamp(1.75rem, 1.15rem + 2.2vw, 2.75rem);
  --radius: 14px; --radius-lg: 22px;
  --nav-h: 64px; --maxw: 1120px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg); color: var(--text-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-base); line-height: 1.6; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -0.02em; font-weight: 700; color: var(--text-ink); }
p { color: var(--text-muted); }
strong { color: var(--text-ink); font-weight: 600; }
a { color: var(--teal); }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.skip-link {
  position: absolute; left: 12px; top: -72px; z-index: 400;
  background: var(--teal); color: #fff; font-weight: 700;
  padding: 12px 16px; border-radius: 8px; text-decoration: none; min-height: 44px;
}
.skip-link:focus { top: 12px; }

.navbar {
  position: sticky; top: 0; z-index: 100; height: var(--nav-h);
  background: rgba(244, 247, 246, 0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-2); font-weight: 800; min-height: 44px; }
.brand img { width: 36px; height: 36px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--border);
  background: #fff; color: var(--teal-2); border-radius: 8px; cursor: pointer;
}
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
  text-decoration: none; color: var(--text-muted); font-weight: 600; font-size: var(--fs-sm);
}
.nav-links a:hover { color: var(--teal-2); }

.hero { padding: var(--s-7) 0 var(--s-8); overflow: hidden; }
.hero .container { display: grid; gap: var(--s-7); align-items: center; }
.badge {
  display: inline-flex; align-items: center; min-height: 36px;
  padding: 0 12px; border-radius: 999px; font-size: var(--fs-xs); font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--mint-soft); color: var(--teal-2); border: 1px solid var(--mint);
  margin-bottom: var(--s-3);
}
.hero h1 { font-size: var(--fs-2xl); color: var(--teal-2); margin-bottom: var(--s-3); }
.hero .lead { font-size: var(--fs-md); max-width: 38ch; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.radar {
  position: absolute; width: min(420px, 90vw); height: min(420px, 90vw); border-radius: 50%;
  background:
    repeating-radial-gradient(circle at center, transparent 0 28px, rgba(15,118,110,0.08) 28px 29px),
    conic-gradient(from 0deg, rgba(15,118,110,0.0) 0 70%, rgba(15,118,110,0.22) 85%, rgba(15,118,110,0) 100%);
  animation: sweep 8s linear infinite;
  z-index: 0;
}
@keyframes sweep { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .radar { animation: none; }
  html { scroll-behavior: auto; }
  .bar-fill { transition: none !important; }
}
.phone {
  position: relative; z-index: 1;
  width: min(260px, 72vw);
  background: #0f172a;
  border: 3px solid #1e293b;
  border-radius: 28px;
  padding: 10px 8px;
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}
.phone img { width: 100%; border-radius: 18px; background: #f8fafc; }
.caption { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--text-muted); text-align: center; }

section { padding: var(--s-8) 0; }
.alt { background: var(--bg-alt); }
.section-head { margin-bottom: var(--s-6); max-width: 40rem; }
.section-head h2 { font-size: var(--fs-xl); margin-bottom: var(--s-2); color: var(--teal-2); }

.tab-block { display: grid; gap: var(--s-5); margin-bottom: var(--s-7); align-items: center; }
.tab-block:last-child { margin-bottom: 0; }
.shot {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: var(--s-3); overflow: hidden;
}
.shot img { width: 100%; border-radius: 10px; }
.note { font-size: var(--fs-xs); margin-top: var(--s-2); color: var(--text-muted); }

.contoh-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-5); }
.bar { height: 14px; border-radius: 999px; background: var(--mint-soft); overflow: hidden; margin: var(--s-3) 0; }
.bar-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--teal-2)); border-radius: 999px; transition: width 1.1s ease; }
.contoh-wrap.is-in .bar-fill { width: 0%; }
.rp { color: var(--orange); font-weight: 700; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--s-5);
}

footer { border-top: 1px solid var(--border); padding: var(--s-6) 0; font-size: var(--fs-sm); color: var(--text-muted); background: #fff; }
.f-row { display: flex; flex-wrap: wrap; gap: var(--s-4); justify-content: space-between; align-items: center; }
.f-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-ink); font-weight: 700; min-height: 44px; }
.f-brand img { width: 36px; height: 36px; }
.f-links { display: flex; flex-wrap: wrap; gap: 8px; }
.f-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 8px; }

.page-main { padding: var(--s-8) 0 var(--s-9); }
.page-main h1 { font-size: var(--fs-xl); margin-bottom: var(--s-4); }
.page-main h2 { font-size: var(--fs-lg); margin: var(--s-6) 0 var(--s-3); }
.page-main ul { margin: 0 0 var(--s-4) 1.2rem; color: var(--text-muted); }
.page-main li { margin-bottom: var(--s-2); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 700;
  background: var(--teal); color: #fff; text-decoration: none;
}

.nav-scrim {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0;
  background: rgba(15, 23, 42, 0.4); z-index: 90; border: 0; cursor: pointer;
}
.page-main a { min-height: 44px; display: inline-flex; align-items: center; }
@media (max-width: 720px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    display: none; position: absolute; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; background: #fff; border-bottom: 1px solid var(--border); padding: 8px 12px 16px;
    z-index: 110;
  }
  .nav-links.open { display: flex; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav-scrim { display: block; }
}
@media (min-width: 800px) {
  .hero .container { grid-template-columns: 1fr 1fr; }
  .tab-block { grid-template-columns: 1fr 1fr; }
  .tab-block:nth-child(even) { direction: rtl; }
  .tab-block:nth-child(even) > * { direction: ltr; }
}
