/* ===========================================================
   AGORA Notes — shared styles
   Clean, light design with crimson red accents, matching the
   look of the original agoranotes.com pages.
   =========================================================== */

:root {
  --bg:          #ffffff;
  --surface:     #ffffff;
  --ink:         #111111;
  --ink-soft:    #333333;
  --muted:       #6b6b6b;
  --accent:      #c41e1e;    /* crimson red */
  --accent-dark: #9a1515;
  --pink:        #fcd5d5;    /* light pink highlight card */
  --pink-soft:   #fde7e7;
  --border:      #e5e5e5;
  --max-w:       1100px;
  --radius:      10px;
  --shadow:      0 10px 30px rgba(0, 0, 0, 0.06);
  --font-sans:   "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                 "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); text-decoration: underline; }

h1, h2, h3, h4 {
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.2rem; line-height: 1.3; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* ---------- Header / Nav ---------- */
.site-header {
  border-bottom: 1px solid var(--border);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}
.brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.brand .dot { color: var(--accent); }
.nav-links {
  display: flex;
  gap: 1.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 1rem 1.75rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-stack { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.btn-stack .btn { width: 100%; max-width: 360px; text-align: center; }

/* ---------- Home split hero ---------- */
.split {
  min-height: calc(100vh - 65px);
  display: grid;
  grid-template-columns: 5fr 6fr;
}
.split-media {
  background: #f1f4f8 url('notes-illustration.svg') center/cover no-repeat;
  min-height: 360px;
}
.split-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 3rem;
}
.split-body h1 { margin-bottom: 2rem; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split-media { min-height: 220px; }
  .split-body { padding: 3rem 1.75rem; }
}

/* ---------- Section ---------- */
section { padding: 4rem 0; }
section + section { border-top: 1px solid transparent; }

.section-head { margin-bottom: 2rem; }
.eyebrow {
  display: inline-block;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 0.9rem;
  font-weight: 700;
}
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 68ch; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding: 4.5rem 0 2rem;
}
.page-hero h1 { margin-bottom: 0.6rem; }
.page-hero .lead { color: var(--ink-soft); }

/* ---------- Title with red highlight ---------- */
.title-tag {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.25em 0.55em;
  border-radius: 4px;
  margin: 0 0 0.8em;
  font-size: inherit;
}

/* ---------- TOC grid ---------- */
.toc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2.5rem;
  margin: 2rem 0;
}
.toc-item {
  padding: 0.9rem 0 1rem;
  border-top: 2px solid var(--accent);
}
.toc-item .num {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.1rem;
}
.toc-item .name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}
.toc-item a { color: inherit; text-decoration: none; }
.toc-item a:hover .name { color: var(--accent); }
@media (max-width: 640px) { .toc-grid { grid-template-columns: 1fr; } }

/* ---------- Content blocks ---------- */
.block {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
}
.block:first-of-type { border-top: 0; }

.block-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 820px) {
  .block-two-col { grid-template-columns: 1fr; gap: 1.5rem; }
}

.callout-quote {
  border-left: 4px solid var(--accent);
  padding: 0.25rem 0 0.25rem 1.25rem;
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin: 1rem 0;
}
.callout-quote cite {
  display: block;
  color: var(--muted);
  font-style: normal;
  margin-top: 0.5rem;
  font-size: 0.95rem;
}

/* ---------- Pink feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}
.feature-card {
  background: var(--pink);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.feature-card .icon {
  width: 42px;
  height: 42px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}
.feature-card h3 { margin-bottom: 0.3em; }
.feature-card p { color: var(--ink-soft); margin: 0; }

/* ---------- Strategy / icon rows ---------- */
.step-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.step-row .chev {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  background: var(--pink);
  color: var(--accent);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.step-row h3 { margin-bottom: 0.15em; }
.step-row p { color: var(--ink-soft); margin: 0; }

/* ---------- Two column bullet compare ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.compare-grid h3 { margin-bottom: 0.8rem; }
.compare-grid .meta { color: var(--ink-soft); margin-bottom: 0.4rem; }
.compare-grid ul { margin: 0 0 1rem 1.2rem; padding: 0; }
.compare-grid li { margin-bottom: 0.4rem; color: var(--ink-soft); }
@media (max-width: 820px) { .compare-grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Partnership lists ---------- */
.partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.partners ul { list-style: disc; padding-left: 1.2rem; margin: 0 0 1rem; }
.partners li { margin-bottom: 0.3rem; color: var(--ink-soft); }
@media (max-width: 640px) { .partners { grid-template-columns: 1fr; } }

/* ---------- Verses timeline ---------- */
.timeline {
  position: relative;
  margin: 3rem auto;
  max-width: 880px;
  padding: 1rem 0;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--accent);
  transform: translateX(-50%);
}
.verse-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
  position: relative;
  margin-bottom: 2.5rem;
}
.verse-row::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 50%;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px #fff;
}
.verse-card { padding: 0 0 0.5rem; }
.verse-row .left  { text-align: right; }
.verse-row .right { text-align: left; }
.verse-row .empty { visibility: hidden; }
.verse-date { font-weight: 800; color: var(--ink); margin: 0 0 0.1em; }
.verse-ref  { font-weight: 800; color: var(--ink); margin: 0 0 0.5em; }
.verse-text { color: var(--ink-soft); font-style: italic; margin: 0; }
@media (max-width: 700px) {
  .timeline::before { left: 14px; }
  .verse-row { grid-template-columns: 1fr; column-gap: 0; padding-left: 40px; }
  .verse-row::before { left: 14px; }
  .verse-row .left, .verse-row .right { text-align: left; }
  .verse-row .empty { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 3rem;
  margin-top: 3rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.footer-row a { color: var(--muted); }
.footer-row a:hover { color: var(--accent); }

/* Utility */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: 2rem; }
