/* Tareeqa — shared styles */

:root {
  --cream: #f7f8fa;
  --cream-2: #eef1f5;
  --ink: #23272b;
  --ink-soft: #5b6570;
  --brand: #2b5f8a;      /* steel blue */
  --brand-dark: #1c4364; /* navy */
  --accent: #4a6fa5;     /* lighter blue */
  --border: #dde3ea;
  --white: #ffffff;
  --max-width: 880px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", Tahoma, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / nav */

header.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand span {
  color: var(--brand);
}

.nav-links {
  display: flex;
  gap: 28px;
}

.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--brand-dark);
  text-decoration: none;
}

/* Hero */

.hero {
  background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  padding: 64px 0 56px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 2.4rem;
  margin: 0 0 14px;
  line-height: 1.25;
}

.hero p.lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 0 24px;
}

.hero-actions a {
  display: inline-block;
  background: var(--brand);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  margin-right: 12px;
}

.hero-actions a:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.hero-actions a.secondary {
  background: transparent;
  color: var(--brand-dark);
  border: 1.5px solid var(--brand);
}

.hero-actions a.secondary:hover {
  background: var(--cream-2);
}

/* Page header (non-home) */

.page-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--border);
  background: var(--cream-2);
}

.page-header h1 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.page-header p {
  color: var(--ink-soft);
  max-width: 620px;
  margin: 0;
}

/* Sections */

section {
  padding: 48px 0;
}

section.alt {
  background: var(--cream-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

h2 {
  font-size: 1.6rem;
  margin: 0 0 18px;
}

h2 .leaf {
  color: var(--accent);
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px 18px;
  text-align: center;
}

.stat-card .num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  display: block;
  margin-bottom: 6px;
}

.stat-card .label {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* Cards / grid */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  margin-top: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}

.card h3 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

/* Image placeholder */

.img-placeholder {
  background: var(--cream-2);
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

/* Timeline / list */

.plain-list {
  padding-left: 20px;
  color: var(--ink-soft);
}

.plain-list li {
  margin-bottom: 10px;
}

/* Proof note */

.proof-note {
  background: var(--white);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  padding: 18px 20px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin-top: 24px;
}

/* Footer */

footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* Responsive */

@media (max-width: 640px) {
  .nav {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: 1.9rem;
  }

  .hero-actions a {
    display: block;
    margin: 0 0 10px;
    text-align: center;
  }
}
