/* ============================================================
   ADAM CHECKS — Design System
   ============================================================ */
:root {
  /* Brand greens (WhatsApp-anchored) */
  --wa-green: #25D366;
  --wa-green-ink: #1FA855;
  --wa-deep: #0E7A5F;
  --wa-teal: #075E54;
  --bubble-out: #DDFBD0;   /* outgoing light-green */
  --bubble-out-2: #E8FCE0;
  --bubble-in: #FFFFFF;
  --chat-bg: #E6E0D6;      /* warm messaging wallpaper */

  /* Neutrals (warm clean) */
  --paper: #FBFBF8;
  --paper-2: #F4F3EC;
  --panel: #FFFFFF;
  --ink: #0C1A13;
  --ink-soft: #4A574F;
  --ink-faint: #8A938C;
  --line: rgba(12, 26, 19, 0.10);
  --line-soft: rgba(12, 26, 19, 0.06);

  /* Verdict */
  --halal: #1FA855;
  --halal-bg: #E6F8EC;
  --haram: #E0473B;
  --haram-bg: #FCEBE9;
  --unclear: #E0962A;
  --unclear-bg: #FBF1E0;

  /* Accent (HMA trust gold, used sparingly) */
  --gold: #B8923A;

  /* Type */
  --font-display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Radii / shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-xl: 38px;
  --shadow-sm: 0 1px 2px rgba(12,26,19,.06), 0 2px 8px rgba(12,26,19,.05);
  --shadow-md: 0 6px 20px rgba(12,26,19,.08), 0 2px 6px rgba(12,26,19,.05);
  --shadow-lg: 0 24px 60px -18px rgba(7,94,84,.30), 0 8px 24px rgba(12,26,19,.08);
  --shadow-phone: 0 40px 90px -30px rgba(7,40,30,.55), 0 14px 40px rgba(7,40,30,.25);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.02; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: var(--wa-green); color: #04130C; }

.wrap { width: min(1180px, 92vw); margin: 0 auto; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--wa-deep);
  display: inline-flex; align-items: center; gap: 8px;
}
.eyebrow::before { content:""; width: 22px; height: 2px; background: var(--wa-green); border-radius: 2px; }

/* Buttons */
.btn {
  font-family: var(--font-body);
  font-weight: 700; font-size: 16px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--wa-green); color: #04130C;
  box-shadow: 0 10px 24px -8px rgba(31,168,85,.7), inset 0 1px 0 rgba(255,255,255,.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(31,168,85,.8); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--wa-green); color: var(--wa-deep); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.wa-glyph { width: 20px; height: 20px; display:inline-block; }

/* Pills / tags */
.pill {
  display:inline-flex; align-items:center; gap:7px;
  font-weight:700; font-size:13px; padding:7px 13px; border-radius:999px;
  background: var(--panel); border:1px solid var(--line); color: var(--ink-soft);
}

/* Section rhythm */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }

.h-display { font-size: clamp(40px, 6.6vw, 86px); line-height: 0.98; }
.h-section { font-size: clamp(32px, 4.6vw, 60px); line-height: 1.0; }
.lead { font-size: clamp(18px, 2vw, 22px); color: var(--ink-soft); line-height: 1.5; }

/* Verdict chip */
.verdict { display:inline-flex; align-items:center; gap:8px; font-weight:800; padding:6px 12px; border-radius:999px; font-size:14px; }
.verdict.halal { background: var(--halal-bg); color: var(--halal); }
.verdict.haram { background: var(--haram-bg); color: var(--haram); }
.verdict.unclear { background: var(--unclear-bg); color: var(--unclear); }

/* Geometric star texture (subtle, optional) */
.girih-bg {
  background-color: var(--wa-teal);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 22px 22px;
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .section { padding: 64px 0; }
}
