:root{
  --header:#0856A3;
  --body:#51BFE8;
  --text:#0b1220;
  --card:#ffffff;
  --radius:18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,Arial,sans-serif;
  background:var(--body);
  color:var(--text);
  -webkit-text-size-adjust:100%;
}

img{
  max-width:100%;
  height:auto;
  display:block;
}

.container{
  max-width:1100px;
  margin:auto;
  padding:0 16px;
}

/* Header */
.site-header{
  background:var(--header);
  position:sticky;
  top:0;
  z-index:30;
}
.header-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:12px 0;
}
.brand{display:inline-flex; align-items:center; text-decoration:none}
.top-nav a{
  color:#fff;
  margin-left:14px;
  text-decoration:none;
  font-weight:600;
  white-space:nowrap;
}

/* Sticky center buttons */
.sticky-actions{
  position:fixed;
  left:50%;
  bottom:14px;
  transform:translateX(-50%);
  display:flex;
  gap:12px;
  flex-wrap:wrap;            /* ✅ penting biar tidak melebar di mobile */
  justify-content:center;
  max-width:calc(100vw - 24px);
  background:rgba(8,86,163,.2);
  padding:10px 14px;
  border-radius:999px;
  backdrop-filter:blur(8px);
  z-index:60;
}
.btn{
  padding:10px 16px;
  border-radius:999px;
  font-weight:700;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.btn-primary{
  background:#fff;
  color:var(--header);
}
.btn-ghost{
  background:rgba(255,255,255,.25);
  color:#fff;
}
.btn.full{
  width:100%;
  text-align:center;
  margin-bottom:10px;
}

/* Layout blocks */
.hero{padding:30px 0}
.hero-inner{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:20px;
  align-items:start;
}
.hero-copy,.hero-media,.prose,.box{
  background:rgba(255,255,255,.25);
  padding:18px;
  border-radius:var(--radius);
}
.hero h1{margin:0 0 10px}
.lead{font-size:1.05rem; line-height:1.55}

/* Cards */
.hero-cards{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}
.card{
  background:#fff;
  padding:12px;
  border-radius:14px;
  text-decoration:none;
  color:var(--text);
}
.card h2{margin:0 0 6px; font-size:1.02rem}
.card p{margin:0; line-height:1.45}

/* Content area */
.content{padding-bottom:80px;} /* ✅ ruang untuk sticky actions */
.content-inner{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:20px;
  align-items:start;
}

.prose p, .prose li{line-height:1.7}
.prose h2{margin-top:18px}
.prose details{background:rgba(255,255,255,.20); padding:10px 12px; border-radius:12px; margin:10px 0}
.prose summary{cursor:pointer; font-weight:700}

.mini-links{margin:0; padding-left:18px}
.mini-links li{margin:6px 0}

/* Footer */
.site-footer{
  background:rgba(0,0,0,.2);
  padding:18px 0;
}
.site-footer a{
  color:#fff;
  margin-right:10px;
  text-decoration:none;
}

/* =========================
   ✅ RESPONSIVE FIX (MOBILE)
   ========================= */

/* Tablet & below */
@media (max-width:900px){
  .top-nav{display:none;} /* hide nav */
  .header-inner{justify-content:center;} /* center logo */
  .hero-inner,.content-inner{grid-template-columns:1fr;} /* 1 column */
  .hero{padding:18px 0}
  .content{padding-bottom:96px;}
}

/* Mobile */
@media (max-width:560px){
  .container{padding:0 12px;}

  /* Hero cards -> 1 column */
  .hero-cards{grid-template-columns:1fr;}

  /* Make boxes more compact */
  .hero-copy,.hero-media,.prose,.box{padding:14px;}

  /* Buttons smaller on mobile */
  .sticky-actions{
    bottom:10px;
    padding:9px 12px;
    border-radius:18px;
  }
  .btn{
    padding:10px 14px;
    font-size:0.95rem;
  }

  /* Prevent text overflow */
  .card h2{font-size:1rem}
  .lead{font-size:1rem}
}
