:root {
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --fg: #0a0a0a;
  --fg-muted: #555;
  --border: #e5e5e5;
  --accent: #0a0a0a;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 780px; margin: 0 auto; padding: 0 24px; }

nav.top {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: sticky;
  top: 0;
  background: var(--bg);
  z-index: 100;
}

nav.top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

nav.top .brand {
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  color: var(--fg);
}

nav.top .menu {
  display: flex;
  gap: 24px;
  list-style: none;
}

nav.top .menu a {
  color: var(--fg-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease;
}

nav.top .menu a:hover {
  color: var(--fg);
}

/* Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--fg);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  nav.top .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
  }

  nav.top .menu.open {
    display: flex;
  }

  nav.top .menu li {
    width: 100%;
  }

  nav.top .menu a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
  }

  nav.top .menu a:hover {
    background: var(--bg-subtle);
  }

  /* Animasi hamburger ke X */
  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  nav.top .menu a.active {
    background: var(--bg-subtle);
    font-weight: 600;
  }

  nav.top .menu a.active::after {
    display: none;
  }
}

nav.top a.brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.375rem;
  color: #1e3a8a;
  letter-spacing: -0.04em;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-font-smoothing: antialiased;
  text-decoration: none;
  transition: opacity var(--transition);
}

nav.top .menu a.active {
  color: var(--fg);
  font-weight: 600;
  position: relative;
}

nav.top .menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--fg);
}

main { padding: 80px 0; }

h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 20px;
}
h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 56px 0 16px;
}
h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 32px 0 10px;
}
p { margin-bottom: 16px; color: var(--fg-muted); }
p.lead { font-size: 19px; color: var(--fg); }

a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

code, .mono {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 3px;
  border: 1px solid var(--border);
}

pre {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  overflow-x: auto;
  margin: 20px 0;
  line-height: 1.5;
}
pre code { background: none; padding: 0; border: none; }

.fingerprint {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--fg-muted);
  border-left: 2px solid var(--border);
  padding-left: 14px;
  margin: 24px 0;
  word-break: break-all;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin: 32px 0;
}
.grid > div {
  background: var(--bg);
  padding: 24px 20px;
}
.grid h3 { margin: 0 0 8px; font-size: 14px; font-weight: 600; }
.grid p { font-size: 13px; margin: 0; }

.cta {
  display: inline-block;
  background: var(--fg);
  color: #fff;
  padding: 12px 22px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-right: 12px;
  margin-top: 8px;
}
.cta.secondary {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}

.callout {
  border-left: 3px solid var(--fg);
  padding: 4px 0 4px 18px;
  margin: 24px 0;
  font-size: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
th { font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fg-muted); }
td.mono { font-family: var(--mono); font-size: 13px; background: none; border: none; padding: 12px 0; }

footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 60px;
  margin-top: 80px;
  font-size: 13px;
  color: var(--fg-muted);
}
footer .cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
footer h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fg);
  margin-bottom: 12px;
  font-weight: 600;
}
footer ul { list-style: none; }
footer li { margin-bottom: 8px; }
footer a { color: var(--fg-muted); text-decoration: none; font-size: 13px; }
footer a:hover { color: var(--fg); }
footer .tagline { padding-top: 24px; font-size: 12px; }

a.dotted-link {
  color: var(--color-brand);          /* pakai warna brand */
  text-decoration-line: underline;    /* aktifkan underline */
  text-decoration-style: dashed;      /* ubah jadi dotted */
  text-underline-offset: 3px;         /* beri jarak dari teks */
  transition: opacity var(--transition);
}

a.dotted-link:hover {
  opacity: 0.8;                       /* efek hover */
}

.copyright {
  font-size: 12px;
  color: var(--fg-muted);
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
}

/* FAQ Section */
.faq {
  margin-top: 56px;
  border-top: 1px solid var(--border);
  padding-top: 40px;
}

.faq h2 {
  margin-top: 0;
  margin-bottom: 24px;
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq details:first-of-type {
  border-top: 1px solid var(--border);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: var(--fg);
  list-style: none;
  position: relative;
  padding-right: 28px;
  line-height: 1.5;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--fg-muted);
  font-weight: 400;
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  content: "−";
}

.faq details[open] summary {
  margin-bottom: 12px;
}

.faq details p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.65;
  margin-bottom: 0;
}

.explore-grid a {
  text-decoration: none;
}

.explore-grid a:hover {
  opacity: 0.8;                       /* efek hover */
}