/* Hakika — site styles. Tokens taken from the original build (hsl(var(--primary)) etc.). */
:root {
  --primary: #0b3c2e;        /* deep green  */
  --accent: #c28c1e;         /* amber       */
  --muted: #e8f3ed;          /* mint        */
  --fg: #0a0a0a;
  --fg-muted: #3e5b50;
  --border: #d9e4de;
  --white: #ffffff;
  --max: 1280px;
  --max-4: 896px;
  --max-3: 768px;
  --max-2: 672px;
  --max-5: 1024px;
  --pad: 24px;
}
@media (min-width: 1024px) { :root { --pad: 32px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Inter, -apple-system, system-ui, "Segoe UI", Roboto, sans-serif;
  color: var(--fg);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.wrap-5 { max-width: var(--max-5); margin: 0 auto; padding: 0 var(--pad); }
.wrap-4 { max-width: var(--max-4); margin: 0 auto; padding: 0 var(--pad); }
.wrap-3 { max-width: var(--max-3); margin: 0 auto; padding: 0 var(--pad); }
.wrap-2 { max-width: var(--max-2); margin: 0 auto; padding: 0 var(--pad); }

.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.bg-primary { background: var(--primary); color: var(--white); }
.bg-muted { background: var(--muted); }
.bg-white { background: var(--white); }
.center { text-align: center; }

/* Type */
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; }
.bg-primary .eyebrow { color: rgba(255,255,255,.5); }
.h1 { font-size: 36px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; }
.h2 { font-size: 30px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
.lead { font-size: 17px; line-height: 1.65; color: var(--fg-muted); }
.bg-primary .lead, .page-hero .lead { color: rgba(255,255,255,.75); }
.page-hero .eyebrow { color: rgba(255,255,255,.5); }
.body { font-size: 16px; line-height: 1.65; color: var(--fg-muted); }
.bg-primary .body, .page-hero .body { color: rgba(255,255,255,.7); }
.small { font-size: 14px; color: var(--fg-muted); }
@media (min-width: 768px) {
  .h1 { font-size: 48px; }
  .h2 { font-size: 36px; }
  .lead { font-size: 18px; }
}
@media (min-width: 1024px) { .h1 { font-size: 60px; } }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; } .mb-8 { margin-bottom: 32px; }
.mb-10 { margin-bottom: 40px; } .mb-12 { margin-bottom: 48px; } .mb-16 { margin-bottom: 64px; }
.mt-8 { margin-top: 32px; } .mt-10 { margin-top: 40px; } .mt-12 { margin-top: 48px; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-xl { max-width: 576px; } .max-2xl { max-width: 672px; } .max-3xl { max-width: 768px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 28px; font-size: 14px; font-weight: 600; line-height: 1.2; transition: opacity .15s, background .15s; }
.btn-accent { background: var(--accent); color: var(--white); }
.btn-primary { background: var(--primary); color: var(--white); }
.btn-accent:hover, .btn-primary:hover { opacity: .9; }
.btn-outline { border: 1px solid rgba(255,255,255,.4); color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-row { display: flex; flex-direction: column; gap: 16px; }
@media (min-width: 640px) { .btn-row { flex-direction: row; flex-wrap: wrap; } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--primary); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
@media (min-width: 1024px) { .site-header .bar { height: 80px; } }
.site-header .logo img { height: 36px; width: auto; }
@media (min-width: 768px) { .site-header .logo img { height: 44px; } }
.nav { display: none; align-items: center; gap: 24px; }
@media (min-width: 1024px) { .nav { display: flex; } }
.nav a { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.8); white-space: nowrap; transition: color .15s; }
.nav a:hover { color: var(--white); }
.nav .cta { margin-left: 8px; padding: 8px 16px; font-size: 12px; font-weight: 600; color: var(--white); border: 1px solid rgba(255,255,255,.4); }
.nav .cta:hover { background: rgba(255,255,255,.1); }
.nav .cta-primary { background: var(--accent); border-color: var(--accent); }
.nav .cta-primary:hover { opacity: .9; background: var(--accent); }
.menu-btn { display: inline-flex; background: none; border: 0; color: var(--white); padding: 8px; cursor: pointer; }
@media (min-width: 1024px) { .menu-btn { display: none; } }
.mobile-nav { display: none; flex-direction: column; gap: 4px; padding: 8px 0 20px; border-top: 1px solid rgba(255,255,255,.1); }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 0; font-size: 16px; font-weight: 500; color: rgba(255,255,255,.85); border-bottom: 1px solid rgba(255,255,255,.06); }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }

/* Hero */
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; background: var(--primary); color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .2; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(17,24,39,.3), rgba(17,24,39,.6)); }
.hero .wrap { position: relative; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { color: var(--white); white-space: pre-line; margin-bottom: 24px; }
.hero .lead { color: rgba(255,255,255,.75); margin-bottom: 40px; max-width: 576px; }

/* Page hero (sub pages) */
.page-hero { background: var(--primary); color: var(--white); padding: 80px 0; }
@media (min-width: 768px) { .page-hero { padding: 96px 0; } }
.page-hero .h1 { color: var(--white); margin-bottom: 24px; }
.page-hero .h1.snug { line-height: 1.2; font-size: 30px; }
@media (min-width: 768px) { .page-hero .h1.snug { font-size: 36px; } }
@media (min-width: 1024px) { .page-hero .h1.snug { font-size: 48px; } }

/* Grids */
.grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
.grid-2 { gap: 32px; } .grid-3 { gap: 40px; }
@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) { .grid-2-lg { grid-template-columns: 1fr 1fr; gap: 64px; } }
.items-center { align-items: center; }
.items-start { align-items: start; }

/* Problem list */
.num-list { display: flex; flex-direction: column; gap: 16px; }
.num-list li { display: flex; gap: 20px; align-items: flex-start; padding: 20px; border-left: 4px solid var(--accent); background: var(--muted); }
.num-list .n { flex-shrink: 0; font-size: 36px; font-weight: 900; line-height: 1; color: rgba(194,140,30,.25); font-variant-numeric: tabular-nums; }
.num-list .t { font-size: 16px; font-weight: 500; line-height: 1.6; padding-top: 4px; }
@media (min-width: 768px) { .num-list .t { font-size: 18px; } }

/* Steps */
.step { display: flex; flex-direction: column; gap: 16px; }
.step .big { font-size: 60px; font-weight: 700; line-height: 1; color: var(--accent); }

/* Cards */
.card { border: 1px solid var(--border); padding: 32px; display: flex; flex-direction: column; gap: 16px; background: var(--white); }
.card .tag { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* Rules */
.rules { display: flex; flex-direction: column; gap: 32px; }
.rules > div { display: flex; gap: 24px; align-items: flex-start; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,.1); }
.rules > div:last-child { border-bottom: 0; padding-bottom: 0; }
.rules .dot { flex-shrink: 0; margin-top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.rules b { color: var(--white); font-weight: 600; }
.rules span { color: rgba(255,255,255,.7); }
.note { font-size: 14px; color: rgba(255,255,255,.5); font-style: italic; }

/* Who */
.who h3 { font-size: 18px; font-weight: 700; color: var(--primary); margin-bottom: 12px; }

/* Media */
.media-43 { aspect-ratio: 4 / 3; overflow: hidden; }
.media-43 img, .media-32 img { width: 100%; height: 100%; object-fit: cover; }
.media-32 { aspect-ratio: 3 / 2; overflow: hidden; background: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 16px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { flex-shrink: 0; transition: transform .2s; }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq .a { padding: 0 0 20px; font-size: 15px; color: var(--fg-muted); line-height: 1.6; }

/* Tool list (about) */
.tools { display: grid; gap: 24px; }
.tools > div { display: flex; gap: 16px; align-items: flex-start; border: 1px solid rgba(255,255,255,.15); padding: 20px 24px; }
.tools .n { font-size: 30px; font-weight: 700; line-height: 1; color: var(--accent); }
.tools b { color: var(--white); font-weight: 600; }
.tools span { color: rgba(255,255,255,.65); }

/* Team */
.person { background: var(--white); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 20px; padding-bottom: 28px; }
.person .body-pad { padding: 0 28px; }
.person .role { font-size: 14px; color: var(--accent); font-weight: 600; margin-bottom: 4px; }
.person .row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.person .li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.person .li:hover { color: var(--primary); }
.person ul { display: flex; flex-direction: column; gap: 8px; }
.person li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.person li::before { content: ""; flex-shrink: 0; margin-top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--muted); color: var(--primary); font-size: 48px; font-weight: 700; letter-spacing: .05em; }

/* Beliefs / plain lists */
.plain li { padding: 6px 0; font-size: 16px; line-height: 1.6; }
.dots li { display: flex; gap: 16px; align-items: flex-start; font-size: 16px; line-height: 1.6; padding: 4px 0; }
.dots li::before { content: ""; flex-shrink: 0; margin-top: 10px; width: 8px; height: 8px; background: var(--accent); }

/* Forms */
.form { display: flex; flex-direction: column; gap: 24px; }
.form .row2 { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .form .row2 { grid-template-columns: 1fr 1fr; } }
.form label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.form label .opt { color: var(--fg-muted); font-weight: 400; }
.form input, .form select, .form textarea { width: 100%; border: 1px solid var(--border); padding: 12px 16px; font: inherit; font-size: 14px; color: var(--fg); background: var(--white); border-radius: 0; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
.form textarea { min-height: 140px; resize: vertical; }
.form button { align-self: flex-start; padding: 12px 32px; font: inherit; font-size: 14px; font-weight: 600; color: var(--white); background: var(--primary); border: 0; cursor: pointer; }
.form button:hover { opacity: .9; }
.link { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }

/* Footer */
.site-footer { background: var(--primary); color: var(--white); }
.site-footer .inner { padding: 64px 0; }
.site-footer .grid-f { display: grid; grid-template-columns: 1fr; gap: 48px; }
@media (min-width: 768px) { .site-footer .grid-f { grid-template-columns: 2fr 1fr; } }
.site-footer .logo img { height: 36px; width: auto; margin-bottom: 24px; }
.site-footer p { font-size: 14px; line-height: 1.6; max-width: 448px; }
.site-footer .l80 { color: rgba(255,255,255,.8); margin-bottom: 4px; }
.site-footer .l60 { color: rgba(255,255,255,.6); margin-bottom: 16px; }
.site-footer .l50 { color: rgba(255,255,255,.5); font-size: 12px; }
.site-footer .l40 { color: rgba(255,255,255,.4); font-size: 12px; margin-top: 8px; max-width: 384px; }
.site-footer .links p { color: rgba(255,255,255,.4); font-size: 12px; margin-bottom: 16px; }
.site-footer .links nav { display: flex; flex-direction: column; gap: 12px; }
.site-footer .links a { font-size: 14px; color: rgba(255,255,255,.6); }
.site-footer .links a:hover { color: var(--white); }
.site-footer .copy { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; color: rgba(255,255,255,.3); }

/* Reveal animation (matches the original fade/translate) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
