/* Was-ist-das / what: layout for the deeper-dive product page.
 *
 * Reuses the palette + typography from allsmartllm.css. Only what the
 * landing doesn't cover lives here: mode cards, secret list, FAQ
 * accordion, and a hero variant that isn't a two-column grid.
 */

.what-hero {
  padding: 96px 0 44px;
  text-align: center;
}
.what-hero h1 {
  max-width: 22ch;
  margin: 12px auto 0;
}
.what-hero .hero-sub {
  max-width: 62ch;
  margin: 20px auto 30px;
}
.what-hero .hero-ctas {
  justify-content: center;
}

.what-sec {
  padding: 72px 0;
  border-top: 1px solid var(--border);
}
.what-sec .sec-head {
  max-width: 720px;
  margin-bottom: 32px;
}
.what-body {
  max-width: 720px;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
}
.what-body p { margin: 0 0 16px; }
.what-body p:last-child { margin: 0; }
.what-body b { color: var(--text); font-weight: 600; }
.what-body ol {
  margin: 12px 0 16px 20px;
  padding: 0;
  color: var(--muted);
}
.what-body ol li { margin: 8px 0; }
.what-body .mono {
  font-family: var(--mono);
  font-size: 13px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--text);
}

.what-sec pre {
  max-width: 720px;
  margin-top: 24px;
}

.what-inline-note {
  max-width: 720px;
  color: var(--muted);
  font-size: 15px;
  margin: 8px 0 20px;
}

/* ---------- mode cards ---------- */
.mode-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 40px;
}
.mode-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 22px 20px;
  transition: transform .18s ease, border-color .18s ease;
}
.mode-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.mode-card h3 {
  margin: 0 0 10px;
  font-family: var(--display);
  font-size: 18px;
  font-weight: 600;
}
.mode-card p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--muted);
}
.mode-card .stage-pill {
  border: 1px solid var(--border);
  border-radius: 99px;
  padding: 3px 11px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
}
.mode-card .stage-pill.active {
  border-color: var(--indigo);
  color: var(--indigo-light);
  background: rgba(99, 102, 241, .08);
}
.mode-card b { color: var(--text); font-weight: 500; }
.mode-card i { color: var(--indigo-light); font-style: normal; }
.mode-card .mono {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 5px;
}

/* ---------- secrets block ---------- */
.secrets-block {
  max-width: 780px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 30px 24px;
  margin-top: 8px;
}
.secrets-block h3 {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px;
}
.secrets-block p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 14px;
}
.secrets-block b { color: var(--text); font-weight: 600; }
.secrets-block .mono {
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1px 5px;
}
.secret-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  border-top: 1px solid var(--border);
}
.secret-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.secret-list li:last-child { border-bottom: none; }
.secrets-block .viz-foot {
  color: #9AA0B4;
  font-size: 12.5px;
  margin: 6px 0 0;
}

/* ---------- FAQ accordion ---------- */
.faq-list {
  max-width: 720px;
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  list-style: none;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: color .15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: '+';
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 400;
  color: var(--indigo-light);
  transition: transform .18s ease;
  width: 16px;
  display: inline-block;
  text-align: center;
}
.faq-item[open] summary::before {
  content: '−';
}
.faq-item summary:hover { color: var(--indigo-light); }
.faq-answer {
  padding: 0 0 20px 28px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 15px;
}
.faq-answer a { color: var(--indigo-light); }
.faq-answer a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .mode-cards { grid-template-columns: 1fr; }
  .what-hero { padding: 64px 0 30px; }
  .what-sec { padding: 56px 0; }
  .secrets-block { padding: 22px 20px; }
  .faq-item summary { font-size: 15.5px; }
}
