/* ===== Tokens ===== */
:root{
  --cream: #F7F3EA;
  --cream-deep: #EFE8D8;
  --indigo: #1F3A5F;
  --indigo-deep: #142A45;
  --maroon: #7A2E2E;
  --maroon-deep: #5E2222;
  --gold: #C9962B;
  --ink: #2A241C;
  --ink-soft: #5C5548;
  --white: #FFFFFF;
  --radius: 10px;
  --font-display: 'Tiro Bangla', Georgia, serif;
  --font-body: 'Hind Siliguri', 'Segoe UI', sans-serif;
  --max-width: 1180px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  color: var(--indigo-deep);
  margin: 0 0 0.4em;
  line-height: 1.15;
}
p{ margin: 0 0 1em; color: var(--ink-soft); }
a{ color: inherit; text-decoration: none; }
.wrap{ max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn{
  display:inline-flex; align-items:center; gap:6px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
  cursor:pointer;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--maroon); color: var(--white); }
.btn-primary:hover{ background: var(--maroon-deep); }
.btn-outline{ border-color: var(--indigo); color: var(--indigo); }
.btn-outline:hover{ background: var(--indigo); color: var(--white); }
.btn-ghost{ color: var(--indigo); padding: 12px 14px; }
.btn-lg{ padding: 15px 30px; font-size: 1.02rem; }

/* ===== Header ===== */
.site-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(247,243,234,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cream-deep);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 24px;
}
.brand{ display:flex; align-items:center; gap:10px; color: var(--indigo-deep); }
.brand-mark{ color: var(--maroon); display:flex; }
.brand-text{ font-family: var(--font-display); font-style: italic; font-size: 1.4rem; }
.brand-dot{ color: var(--maroon); }
.main-nav{ display:flex; gap: 28px; }
.main-nav a{ font-size: 0.95rem; font-weight: 600; color: var(--indigo-deep); }
.main-nav a:hover{ color: var(--maroon); }
.header-actions{ display:flex; align-items:center; gap: 10px; }
.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; }
.nav-toggle span{ width: 22px; height: 2px; background: var(--indigo-deep); }

/* ===== Hero ===== */
.hero{ padding: 88px 0 60px; background:
  radial-gradient(1200px 500px at 85% -10%, rgba(122,46,46,0.07), transparent),
  var(--cream);
}
.hero-inner{ max-width: 780px; }
.eyebrow{
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem;
  font-weight: 700; color: var(--maroon); margin-bottom: 14px;
}
.hero h1{ font-size: clamp(2.2rem, 5vw, 3.4rem); }
.hero-sub{ font-size: 1.08rem; max-width: 620px; }
.hero-cta{ display:flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 44px; }
.hero-stats{ display:flex; gap: 44px; flex-wrap: wrap; }
.stat{ display:flex; flex-direction:column; }
.stat-num{ font-family: var(--font-display); font-style: italic; font-size: 2rem; color: var(--indigo-deep); }
.stat-label{ font-size: 0.85rem; color: var(--ink-soft); }

/* ===== Alpona divider ===== */
.alpona-divider{ color: var(--maroon); opacity: 0.55; height: 40px; margin: 0 auto; max-width: var(--max-width); padding: 0 24px; }
.alpona-divider svg{ width:100%; height:100%; }

/* ===== Sections ===== */
.section{ padding: 72px 0; }
.section-eyebrow{
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem;
  font-weight: 700; color: var(--indigo); margin-bottom: 10px;
}
.section h2{ font-size: clamp(1.6rem, 3.5vw, 2.2rem); max-width: 640px; }
.section-sub{ max-width: 560px; }

/* Steps */
.how-it-works{ background: var(--cream-deep); }
.steps{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.step{ background: var(--white); border-radius: var(--radius); padding: 28px; border: 1px solid #E4DCC8; }
.step-num{ font-family: var(--font-display); font-style: italic; font-size: 1.6rem; color: var(--maroon); display:block; margin-bottom: 10px; }
.step h3{ margin-bottom: 8px; font-size: 1.2rem; }
.step p{ font-size: 0.95rem; margin: 0; }

/* Categories */
.category-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 36px; }
.category-card{
  display:flex; flex-direction: column; align-items: flex-start; gap: 10px;
  background: var(--white); border: 1px solid #E4DCC8; border-radius: var(--radius);
  padding: 22px 18px; font-weight: 600; color: var(--indigo-deep);
  transition: border-color .2s ease, transform .15s ease;
}
.category-card:hover{ border-color: var(--maroon); transform: translateY(-2px); }
.cat-icon{ font-size: 1.6rem; }

/* Public feed */
.public-feed{ background: var(--cream-deep); }
.feed-list{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.feed-card{ background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid #E4DCC8; }
.feed-top{ display:flex; justify-content: space-between; align-items:center; margin-bottom: 12px; }
.feed-id{ font-size: 0.8rem; color: var(--ink-soft); font-weight: 600; }
.feed-card h4{ font-family: var(--font-body); font-weight: 700; font-size: 1rem; color: var(--ink); margin: 0 0 8px; }
.feed-meta{ font-size: 0.85rem; margin: 0; }
.badge{ font-size: 0.72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.03em; }
.badge-received{ background: #EFE3C7; color: #8A6A1F; }
.badge-review{ background: #DCE6F0; color: var(--indigo); }
.badge-resolved{ background: #DDEBD9; color: #2E6B32; }
.feed-note{ margin-top: 18px; font-size: 0.85rem; font-style: italic; }

/* About */
.about-inner{ max-width: 720px; }

/* ===== Footer ===== */
.site-footer{ background: var(--indigo-deep); color: #D9E0E8; padding-top: 56px; }
.footer-inner{ display:flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand{ max-width: 320px; }
.site-footer .brand-text{ color: var(--white); }
.site-footer .brand-dot{ color: var(--gold); }
.footer-brand p{ color: #AEB9C6; font-size: 0.9rem; margin-top: 10px; }
.footer-links{ display:flex; gap: 60px; }
.footer-links h5{ color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.footer-links a{ display:block; color: #AEB9C6; font-size: 0.92rem; margin-bottom: 10px; }
.footer-links a:hover{ color: var(--white); }
.footer-bottom{ padding: 20px 24px; font-size: 0.8rem; color: #8493A3; }

/* ===== Responsive ===== */
@media (max-width: 900px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .steps{ grid-template-columns: 1fr; }
  .category-grid{ grid-template-columns: repeat(2, 1fr); }
  .feed-list{ grid-template-columns: 1fr; }
  .header-actions .btn-ghost{ display:none; }
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  .btn, .category-card{ transition: none; }
}