/* ---------- Theme Variables ---------- */

:root {
  --bg: #ffffff;
  --text: #222;
  --heading: #000;
  --link-bg: #fff3a0; /* warm yellow highlight */
  --link-text: #000; /* ink on yellow */
  --border: #ddd;
  --dim-text: #666;  /* For non-highlighted trigger text */
}

body.dark {
  --bg: #0b0b0b;
  --text: #e6e6e6;
  --heading: #ffffff;
  --link-bg: #4a2875; /* deep purple highlight */
  --link-text: #fff; 
  --border: #333;
  --dim-text: #aaa;
}

/* ---------- Base Layout ---------- */

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

h1, h2, h3 {
  color: var(--heading);
}

h2 {
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
  margin-top: 3rem;
}

/* ---------- Header & Logo ---------- */

header {
  border-bottom: 3px solid var(--heading);
  padding-bottom: 20px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.logo-container {
  width: 200px;
  margin-bottom: 1rem;
}

.logo-container img {
  width: 100%;
  height: auto;
  display: block;
}

header p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text);
}

footer {
  border-top: 1px solid var(--border);
  margin-top: 80px;
  padding-top: 20px;
  font-size: 0.8rem;
  color: #888;
}

/* ---------- Links ---------- */

a {
  color: var(--heading);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

a:hover {
  background: var(--link-bg);
  color: var(--link-text);
  border-bottom: none;
}

/* ---------- Utility ---------- */

.toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 0.75rem;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid var(--border);
  padding: 6px 12px;
  background: var(--bg);
  color: var(--text);
  z-index: 100;
}

/* ---------- Interactive Manifesto (Index Page) ---------- */

.manifesto-container {
  max-width: 800px;
  margin-top: 40px;
}

.thought-block {
  margin-bottom: 2.5rem;
  border-left: 3px solid transparent;
  padding-left: 15px;
  transition: border-left-color 0.3s;
}

.thought-block:hover {
  border-left-color: var(--border);
}

.thought-block.active {
  border-left-color: var(--heading);
}

.sentence-trigger {
  font-size: 1.6rem;
  font-weight: 300; 
  cursor: pointer;
  line-height: 1.3;
  color: var(--text);
}

.sentence-trigger strong {
  font-weight: 600;
  border-bottom: 2px solid var(--link-bg);
}

.toggle-icon {
  font-size: 1rem;
  color: var(--dim-text);
  margin-left: 10px;
  vertical-align: middle;
  opacity: 0.5;
  font-family: monospace;
}

.expansion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.7;
}

.thought-block.active .expansion-content {
  max-height: 600px; 
  opacity: 1;
  margin-top: 1.5rem;
}

.deep-link {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Comparison Table (About Page) ---------- */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.comparison-table th, .comparison-table td {
  border-bottom: 1px solid var(--border);
  padding: 12px 15px;
  text-align: left;
}

.comparison-table th {
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--dim-text);
}