/* ==========================================================================
   MGMP PAI Kabupaten Kapuas — Institutional Landing Page Stylesheet
   Palette grounded in Kementerian Agama RI & MGMP PAI Kapuas brand tokens:
   - Deep Emerald: #003B2A
   - Brand Emerald: #008060
   - Ceremonial Gold: #FFD700 / #C89600
   - Botanical Mint Surface: #F6FAF7
   - Crisp Card: #FFFFFF
   - Forest Ink: #10241D / #4B635B
   ========================================================================== */

:root {
  --emerald-deep: #003b2a;
  --emerald-mid: #005841;
  --emerald-brand: #008060;
  --emerald-hover: #006648;
  --emerald-soft: #e6f4ee;
  --gold: #ffd700;
  --gold-hover: #f0c400;
  --gold-deep: #8a6400;
  --surface-page: #f6faf7;
  --surface-tinted: #eef5f1;
  --surface-card: #ffffff;
  --border-subtle: #d6e4dc;
  --ink-primary: #10241d;
  --ink-secondary: #435b52;
  --ink-muted: #647b72;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --shadow-card: 0 2px 14px rgba(0, 59, 42, 0.06);
  --shadow-elevated: 0 22px 50px rgba(0, 32, 22, 0.34);
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-primary);
  background: var(--surface-page);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  background: var(--emerald-deep);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus {
  left: 12px;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
  white-space: nowrap;
}

.btn-sm {
  font-size: 13px;
  padding: 9px 15px;
}

.btn-lg {
  font-size: 14.5px;
  padding: 13px 22px;
}

.btn-primary {
  background: var(--emerald-brand);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 128, 96, 0.22);
}
.btn-primary:hover {
  background: var(--emerald-hover);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: var(--emerald-deep);
  box-shadow: 0 8px 22px rgba(255, 215, 0, 0.22);
}
.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
}

.inline-link {
  color: var(--emerald-brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inline-link:hover {
  color: var(--emerald-deep);
}

/* ==========================================================================
   Sticky Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 250, 247, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(214, 228, 220, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--emerald-deep);
}

.brand-sub {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-secondary);
  transition: color 0.15s ease;
}

.nav-desktop a:hover {
  color: var(--emerald-brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4.5px;
  width: 38px;
  height: 38px;
  padding: 0 9px;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  background: var(--surface-card);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--emerald-deep);
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.mobile-nav {
  border-top: 1px solid var(--border-subtle);
  background: var(--surface-card);
  padding: 14px 0 18px;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav-inner a:not(.btn) {
  padding: 10px 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-primary);
  border-bottom: 1px solid #eef4f0;
}

.mobile-nav-cta {
  margin-top: 12px;
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
}

/* ==========================================================================
   Hero Section (Deep Kemenag Emerald + Quiet 8-Point Geometric Lattice)
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(circle at 86% 18%, rgba(255, 215, 0, 0.16), transparent 44%),
    radial-gradient(circle at 10% 90%, rgba(0, 128, 96, 0.35), transparent 50%),
    linear-gradient(155deg, #003526 0%, #004c37 58%, #003b2a 100%);
  color: #ffffff;
  padding: 54px 0 68px;
  overflow: hidden;
}

/* Subtle 8-point Islamic geometric star lattice at ~4.5% opacity */
.hero-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg width='72' height='72' viewBox='0 0 72 72' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1'%3E%3Crect x='18' y='18' width='36' height='36'/%3E%3Crect x='18' y='18' width='36' height='36' transform='rotate(45 36 36)'/%3E%3Ccircle cx='36' cy='36' r='5'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 72px 72px;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e6f7ef;
  margin-bottom: 18px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 215, 0, 0.22);
}

.hero-title {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-title-accent {
  display: block;
  color: var(--gold);
  margin-top: 4px;
}

.hero-lead {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: clamp(0.95rem, 1.5vw, 1.06rem);
  line-height: 1.68;
  color: #d6ebe2;
}

.hero-lead strong {
  color: #ffffff;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 22px;
  font-size: 12px;
  color: #b7d8cb;
}

.mono-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffe875;
}

/* Hero Portal Preview Frame */
.portal-frame {
  border-radius: 20px;
  background: #f8fbf9;
  color: var(--ink-primary);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: var(--shadow-elevated);
  overflow: hidden;
}

.portal-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: #eaf3ee;
  border-bottom: 1px solid var(--border-subtle);
}

.frame-dots {
  display: flex;
  gap: 6px;
}

.frame-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #b9cfc3;
}
.frame-dots span:first-child { background: #008060; }
.frame-dots span:nth-child(2) { background: #eab308; }

.frame-url {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-secondary);
  background: #ffffff;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.frame-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #166534;
}

.portal-frame-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mini-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #008060 0%, #004d38 100%);
  color: #ffffff;
}

.mini-pill {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.mini-greeting {
  margin: 5px 0 2px;
  font-size: 15px;
  font-weight: 800;
}

.mini-sub {
  margin: 0;
  font-size: 11.5px;
  color: #d6ebe2;
  line-height: 1.45;
}

.mini-emblem {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 215, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.mini-stat {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 11px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mini-stat-accent {
  background: #f1f8f4;
  border-color: #b7d8c8;
}

.mini-stat-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
}

.mini-stat-val {
  font-size: 16px;
  font-weight: 800;
  color: var(--emerald-deep);
}

.mini-stat-sub {
  font-size: 10.5px;
  color: var(--ink-secondary);
}

.mini-timeline {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 12px 14px;
}

.mini-timeline-title {
  margin: 0 0 10px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

.mini-timeline ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.mini-timeline ul::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: #dce8e2;
}

.mini-timeline li {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.tl-node {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  flex-shrink: 0;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1.5px #b7d8c8;
}
.tl-node-green { background: var(--emerald-brand); }
.tl-node-gold { background: #eab308; box-shadow: 0 0 0 1.5px #fde047; }

.tl-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.tl-content strong {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-primary);
}

.tl-content span {
  font-size: 10.5px;
  color: var(--ink-muted);
}

.tl-tag {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald-deep);
  white-space: nowrap;
}

.tl-tag-gold {
  background: #fef9c3;
  color: #854d0e;
}

/* ==========================================================================
   Facts Strip
   ========================================================================== */
.facts-strip {
  background: var(--surface-card);
  border-bottom: 1px solid var(--border-subtle);
  padding: 28px 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.fact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact-value {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--emerald-deep);
  line-height: 1.15;
}

.fact-label {
  font-size: 12.5px;
  color: var(--ink-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
  padding: 68px 0;
}

.section-tinted {
  background: var(--surface-tinted);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  max-width: 660px;
  margin-bottom: 36px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--emerald-brand);
  margin-bottom: 8px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--ink-primary);
}

.section-subtitle {
  margin: 10px 0 0;
  font-size: 15px;
  color: var(--ink-secondary);
}

/* ==========================================================================
   Profil Section
   ========================================================================== */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.editorial-quote {
  margin: 0 0 20px;
  padding: 16px 20px;
  border-left: 4px solid var(--gold);
  background: var(--surface-card);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  box-shadow: var(--shadow-card);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
  line-height: 1.55;
  color: var(--emerald-deep);
}

.prose {
  margin: 0 0 14px;
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.72;
}

.pillar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--emerald-soft);
  color: var(--emerald-brand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink-primary);
}

.pillar p {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

.identity-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.identity-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e6efe9;
  margin-bottom: 18px;
}

.identity-kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald-brand);
}

.identity-card-head h3 {
  margin: 2px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--emerald-deep);
}

.identity-dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.identity-dl > div {
  padding-bottom: 12px;
  border-bottom: 1px dashed #e2ece6;
}
.identity-dl > div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.identity-dl dt {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-muted);
}

.identity-dl dd {
  margin: 3px 0 0;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-primary);
  line-height: 1.5;
}

/* ==========================================================================
   Interactive Portal Showcase (#fitur)
   ========================================================================== */
.showcase-shell {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.showcase-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 12px;
  background: #f3f8f5;
  border-bottom: 1px solid var(--border-subtle);
}

.showcase-tab {
  text-align: left;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.showcase-tab:hover {
  background: rgba(255, 255, 255, 0.7);
}

.showcase-tab.is-active {
  background: #ffffff;
  border-color: #b7d8c8;
  box-shadow: 0 3px 10px rgba(0, 59, 42, 0.07);
}

.tab-title {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--emerald-deep);
}

.showcase-tab.is-active .tab-title {
  color: var(--emerald-brand);
}

.tab-desc {
  font-size: 11.5px;
  color: var(--ink-muted);
  line-height: 1.35;
}

.showcase-panels {
  padding: 24px 20px;
}

.showcase-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.showcase-panel[hidden] {
  display: none;
}

.panel-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald-deep);
  margin-bottom: 10px;
}

.panel-copy h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink-primary);
}

.panel-copy p {
  margin: 10px 0 0;
  font-size: 14.5px;
  color: var(--ink-secondary);
  line-height: 1.68;
}

.check-list {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-primary);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--emerald-brand);
  font-weight: 800;
}

/* Mock Visuals inside Showcase */
.mock-card {
  background: #f8fbf9;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mock-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--emerald-deep);
}

.mock-badge {
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
}
.mock-badge-green {
  background: var(--emerald-soft);
  color: var(--emerald-deep);
}
.mock-badge-gold {
  background: #fef9c3;
  color: #854d0e;
}

.mock-months {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-month {
  background: #ffffff;
  border: 1px solid #cbe4d8;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
}
.mock-month span {
  font-weight: 700;
  color: var(--ink-secondary);
}
.mock-month strong {
  font-size: 10.5px;
  color: var(--emerald-brand);
}

.mock-kas-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px dashed #d6e4dc;
  font-size: 12px;
  color: var(--ink-secondary);
}
.text-green {
  color: var(--emerald-brand);
}

.mock-meta-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mock-meta-rows > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12.5px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e6efe9;
}
.mock-meta-rows span { color: var(--ink-muted); }
.mock-meta-rows strong { color: var(--ink-primary); text-align: right; }

.mock-pill-row {
  display: flex;
  gap: 8px;
}
.mock-btn-fake,
.mock-btn-outline {
  flex: 1;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
}
.mock-btn-fake {
  background: var(--emerald-brand);
  color: #ffffff;
}
.mock-btn-outline {
  background: #ffffff;
  color: var(--emerald-deep);
  border: 1px solid var(--border-subtle);
}

.mock-doc-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-doc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid #e6efe9;
}
.doc-ext {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #fee2e2;
  color: #991b1b;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.doc-ext-blue {
  background: #e0f2fe;
  color: #075985;
}
.mock-doc-item strong {
  display: block;
  font-size: 12.5px;
  color: var(--ink-primary);
}
.mock-doc-item span {
  font-size: 11px;
  color: var(--ink-muted);
}

.mock-class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.mock-class-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
}
.mock-class-box span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--emerald-brand);
}
.mock-class-box strong {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  color: var(--ink-primary);
}

/* Roles Strip */
.roles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 22px;
}

.role-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px;
}

.role-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--emerald-soft);
  color: var(--emerald-deep);
  margin-bottom: 10px;
}

.role-pill-gold {
  background: #fef9c3;
  color: #854d0e;
}

.role-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-primary);
}

.role-card p {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.62;
}

/* ==========================================================================
   Steps Section (#akses)
   ========================================================================== */
.steps-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.step-card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-card);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--emerald-deep);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 14px;
}

.step-card h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--ink-primary);
}

.step-card p {
  margin: 8px 0 0;
  font-size: 13.5px;
  color: var(--ink-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Closing CTA & Footer
   ========================================================================== */
.section-cta {
  padding: 12px 0 72px;
}

.cta-box {
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  background:
    radial-gradient(circle at 92% 15%, rgba(255, 215, 0, 0.2), transparent 42%),
    linear-gradient(135deg, #004430 0%, #006648 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: space-between;
  box-shadow: 0 18px 40px rgba(0, 59, 42, 0.18);
}

.cta-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 8px;
}

.cta-copy h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.9rem);
  font-weight: 800;
  line-height: 1.22;
}

.cta-copy p {
  margin: 8px 0 0;
  max-width: 540px;
  font-size: 14px;
  color: #d6ebe2;
}

.site-footer {
  background: var(--emerald-deep);
  color: #d6ebe2;
  padding: 40px 0 28px;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 800;
  color: #ffffff;
}

.footer-sub {
  margin: 2px 0 0;
  font-size: 12px;
  color: #a9cfc0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  font-weight: 600;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 18px;
  font-size: 12px;
  color: #9ec4b5;
}

.mono-footer {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: #ffe875;
}

/* ==========================================================================
   Subtle Reveal Animation (Respects prefers-reduced-motion)
   ========================================================================== */
.reveal {
  opacity: 1;
  transform: none;
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn { transition: none; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (min-width: 768px) {
  .nav-desktop {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
  .facts-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .showcase-tabs {
    grid-template-columns: repeat(4, 1fr);
  }
  .showcase-panels {
    padding: 32px;
  }
  .showcase-panel {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 32px;
  }
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .cta-box {
    flex-direction: row;
    align-items: center;
    padding: 38px 40px;
  }
  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 960px) {
  .hero {
    padding: 72px 0 84px;
  }
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 44px;
  }
  .profile-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 36px;
  }
}
