/* ============ Base & Background ============ */
:root{
  --ink: #FFF9ED;
  --ink-soft: rgba(255,249,237,.85);
  --shadow: rgba(0,0,0,.18);
  --glass-stroke: rgba(255,249,237,.28);
  --chip-stroke: rgba(255,255,255,.35);
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Funnel Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: #000; /* fallback while image loads */
}

/* BG image + subtle dark veil */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("img/1.jpg") center/cover no-repeat;
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.15);
  z-index: -1;
}

.page{
  max-width: 980px;
  margin: 32px auto 64px;
  padding: 0 24px;
}

/* ============ Header ============ */
.header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.brand{
  font-family: "Quintessential", serif;
  font-size: 48px;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

/* Language chips */
.lang-switch{
  display: flex;
  gap: 8px;
}
.chip{
  appearance: none;
  border: 1px solid var(--chip-stroke);
  background: rgba(0,0,0,.2);
  color: var(--ink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.chip:focus-visible { outline: 2px solid rgba(255,255,255,.6); }

/* ============ Glass & Layout Roles ============ */
/* Visual glass only */
.glass{
  background: rgba(0,0,0,.22);
  border: 1px solid var(--glass-stroke);
  box-shadow:
    0 1px 24px var(--shadow),
    inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Cards/Panels get size from .card */
.card{
  border-radius: 16px;
  padding: 28px 32px;
}

/* Verse card */
.verse{
  margin-top: 8px;
  margin-bottom: 14px;
}
.verse-text{
  font-family: "Quintessential", serif;
  font-size: 32px;
  line-height: 1.55;
  margin: 0 0 8px;
}
.verse-ref{
  margin: 0;
  font-size: 16px;
  color: var(--ink-soft);
}

/* CTA row */
.cta-row{
  display: flex;
  justify-content: center;
  margin: 8px 0 22px;
}

/* Button gets its own size; no card sizing leakage  */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  height: auto;         /* prevent any inherited tall height */
  min-height: 44px;
  width: auto;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
  transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active{ transform: translateY(0); opacity: .95; }
.btn:focus-visible{ outline: 2px solid rgba(255,255,255,.6); }

/* RP panel */
.rp{
  margin-top: 6px;
}
.rp-title{
  font-family: "Quintessential", serif;
  font-size: 32px;
  line-height: 1.5;
  margin: 0 0 10px;
}
.rp-subtitle{
  font-family: "Quintessential", serif;
  font-size: 28px;
  line-height: 1.5;
  margin: 18px 0 6px;
}
.rp-block p{
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.65;
  color: var(--ink);
}

/* Practice bullets */
.practice{
  margin: 0 0 10px 18px;
  padding: 0 0 0 8px;
  list-style: disc;
  font-size: 20px;
  line-height: 1.65;
}

/* Footer */
.footer{
  display: flex;
  justify-content: flex-end;
  margin-top: 28px;
}
.privacy{
  color: var(--ink);
  text-decoration: underline;
  font-size: 12px;
  opacity: .9;
}
.privacy:hover{ opacity: 1; }

/* Helpers */
.hidden{ display: none; }

/* ============ Responsive ============ */
@media (max-width: 680px){
  .brand{ font-size: 38px; }
  .card{ padding: 22px 20px; }
  .verse-text{ font-size: 26px; }
  .rp-title{ font-size: 28px; }
  .rp-subtitle{ font-size: 24px; }
  .rp-block p, .practice{ font-size: 18px; }
}

/* ------------------------------------------------------
   Renungan & Doa: match Figma typography
   ------------------------------------------------------ */

/* Container (the glass card you already have) */
.rp {  /* section that holds Renungan/Praktik/Doa */
  /* nothing required here for layout; only type below */
}

/* Section headings */
.rp h3,
.rp .rp-heading,
.rp .rp-subheading {
  font-family: 'Quintessential', serif;
  font-weight: 400;
  font-size: clamp(26px, 2.2vw, 32px);
  line-height: 49px;                   /* per spec */
  letter-spacing: 0.01em;
  margin: 0 0 8px 0;
  color: var(--text);
}

/* Body copy paragraphs and list items */
.rp p,
.rp .rp-body,
.rp .rp-body p,
.rp .rp-prayer,
.rp li {
  font-family: 'Quintessential', serif;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 37px;                   /* per spec */
  letter-spacing: 0.02em;
  color: var(--text);
}

/* List spacing & bullets */
.rp ul {
  margin: 8px 0 0 1.4rem;              /* indent like the design */
  padding: 0;
  list-style: disc;
}
.rp li { margin: 6px 0; }

/* Keep the CTA on Funnel Sans (already your design) */
.cta,
.cta * {
  font-family: 'Funnel Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Optional: slightly tighten spacing between groups */
.rp-group { margin-bottom: 18px; }
