/* ==========================================================================
   Airtel Blackout — appendix components
   Services grid, CEO letter, FIQ accordion, awards, bingo board.
   Extracted verbatim from index.html's inline <style>. These sections were
   full-bleed bands competing with the evidence; they now live inside
   collapsed disclosures in the appendix, so only index.html loads this.
   ========================================================================== */

/* ---- SERVICES (Satirical) ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  border-color: rgba(237, 28, 36, 0.3);
  transform: translateY(-2px);
  background: rgba(237, 28, 36, 0.03);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--airtel-white);
}

.service-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.service-tag {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tag-resolved {
  background: rgba(76, 175, 80, 0.15);
  color: var(--resolved-green);
}

.tag-premium {
  background: rgba(237, 28, 36, 0.15);
  color: var(--airtel-red);
}


/* ---- CEO LETTER ---- */
.ceo-letter {
  max-width: 700px;
  margin: 3rem auto 0;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 3rem;
  position: relative;
}

.ceo-letter::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 6rem;
  color: var(--airtel-red);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.ceo-letter p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.25rem;
}

.ceo-letter .signature {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.ceo-letter .signature .name {
  font-weight: 700;
  color: var(--airtel-white);
  font-size: 1rem;
}

.ceo-letter .signature .title {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.25rem;
}


/* ---- FAQ ---- */
.faq-list {
  max-width: 800px;
  margin: 3rem auto 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1.75rem 0;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--airtel-white);
  margin-bottom: 0.75rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  font-family: inherit;
  appearance: none;
}

.faq-question::after {
  content: '+';
  color: var(--airtel-red);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
}

.faq-question:focus-visible {
  outline: 2px solid var(--airtel-red);
  outline-offset: 6px;
}

.faq-item.open .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 0.5rem;
}

/* ---- AWARDS ---- */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.award-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(237, 28, 36, 0.05);
  border: 1px solid rgba(237, 28, 36, 0.15);
  border-radius: 16px;
  transition: transform 0.2s;
}

.award-card:hover {
  transform: translateY(-4px);
}

.award-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.award-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--airtel-black);
  margin-bottom: 0.5rem;
}

.award-desc {
  font-size: 0.8rem;
  color: var(--airtel-gray);
  line-height: 1.5;
}

.award-year {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--airtel-red);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* ---- BINGO ---- */
.bingo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
  margin-top: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  overflow: hidden;
}

.bingo-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: all 0.2s;
  line-height: 1.3;
  font-family: inherit;
  appearance: none;
  border-radius: 0;
}

.bingo-cell:hover {
  background: rgba(237, 28, 36, 0.15);
  color: var(--airtel-white);
}

.bingo-cell.stamped {
  background: var(--airtel-red) !important;
  color: var(--airtel-white) !important;
  font-weight: 700;
}

.bingo-cell.free {
  background: var(--airtel-red);
  color: var(--airtel-white);
  font-weight: 800;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
}

.bingo-cell:focus-visible {
  outline: 3px solid var(--airtel-white);
  outline-offset: 2px;
}

.bingo-cell:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.bingo-header {
  text-align: center;
  margin-top: 3rem;
}

.bingo-instructions {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1rem;
}


/* ---- APPENDIX DISCLOSURES ----
   The five sections above used to be full-bleed bands with the same visual
   weight as the evidence. They are now collapsed disclosures: nothing is lost,
   but the reader reaches the incident feed and the remedy first. */
.appendix-stack {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.appendix-item {
  border: 1px solid #DDD;
  border-radius: var(--radius);
  background: var(--airtel-white);
  overflow: hidden;
}

.appendix-item > summary {
  cursor: pointer;
  list-style: none;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.appendix-item > summary::-webkit-details-marker {
  display: none;
}

.appendix-item > summary::after {
  content: '+';
  margin-left: auto;
  font-family: var(--font-mono);
  color: var(--airtel-gray);
  font-size: 1rem;
  line-height: 1;
}

.appendix-item[open] > summary::after {
  content: '\2212';
}

.appendix-item > summary:hover {
  background: #FAFAFA;
}

.appendix-item > summary:focus-visible {
  outline: 2px solid var(--airtel-red);
  outline-offset: -2px;
}

.appendix-id {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--airtel-red);
  flex: none;
}

.appendix-item > summary b {
  color: var(--airtel-black);
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.appendix-hint {
  font-size: 0.78rem;
  color: #777;
}

/* The five appendix pieces were designed against a black band, so the body
   carries .section-dark to give them the ground they were drawn for. */
.appendix-body {
  padding: 1.4rem 1.2rem 1.8rem;
  border-top: 1px solid #DDD;
}

.appendix-body .services-grid,
.appendix-body .awards-grid {
  margin-top: 1.2rem;
}

.appendix-body .ceo-letter {
  margin: 0;
}

.appendix-body .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .appendix-body { padding: 1.1rem 0.9rem 1.4rem; }
  .appendix-hint { width: 100%; }
}
