/* ============================================================
   4. ILLUSTRATION STYLES PAGE — illustration.php
      (originally id="illus-styles-css")
   ============================================================ */
.ks-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── COMPARISON TABLE ── */
.ks-section { padding: 64px 0; }
.ks-section-alt { background: #f8fafc; }
.ks-head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.ks-eyebrow {
  display: inline-block; font-size: 12px; text-transform: uppercase;
  letter-spacing: .1em; color: #4f46e5; font-weight: 700; margin-bottom: 10px;
}
.ks-h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(25px, 3.2vw, 36px); font-weight: 800;
  color: #0f172a; line-height: 1.18; margin: 0 0 14px;
}
.ks-lede { font-size: 16.5px; line-height: 1.65; color: #334155; margin: 0; }

.ks-table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 8px; }
.ks-table {
  width: 100%; min-width: 860px; border-collapse: collapse;
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 3px rgba(15,23,42,.07);
}
.ks-table thead th {
  background: #0f172a; color: #fff; font-size: 12px;
  text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  padding: 14px 14px; text-align: left; white-space: nowrap;
}
.ks-table tbody td {
  padding: 16px 14px; border-bottom: 1px solid #e2e8f0;
  font-size: 14px; color: #334155; vertical-align: top; line-height: 1.5;
}
.ks-table tbody tr:last-child td { border-bottom: none; }
.ks-table tbody tr:hover { background: #f8fafc; }
.ks-style-cell { min-width: 190px; }
.ks-style-cell a {
  font-weight: 700; font-size: 15px; color: #0f172a;
  text-decoration: none; display: block; margin-bottom: 3px;
}
.ks-style-cell a:hover { color: #4f46e5; }
.ks-synonyms { font-size: 11.5px; color: #94a3b8; line-height: 1.45; }
.ks-age-pill {
  display: inline-block; background: #eef2ff; color: #4338ca;
  font-size: 12px; font-weight: 700; padding: 3px 9px;
  border-radius: 100px; white-space: nowrap;
}
.ks-cost { font-weight: 800; color: #10b981; font-size: 15px; letter-spacing: 1px; }

/* ── DECISION GUIDE ── */
.ks-decide { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 18px; margin-top: 36px; }
.ks-decide-card {
  background: #fff; border: 1px solid #e2e8f0; border-left: 3px solid #6366f1;
  border-radius: 10px; padding: 22px 20px;
}
.ks-decide-card h3 {
  font-family: 'Playfair Display', serif; font-size: 17px;
  font-weight: 700; color: #0f172a; margin: 0 0 10px; line-height: 1.3;
}
.ks-decide-card p { font-size: 14px; line-height: 1.6; color: #475569; margin: 0 0 12px; }
.ks-decide-card .ks-answer {
  font-size: 13px; font-weight: 700; color: #4f46e5;
  text-decoration: none; display: inline-flex; gap: 5px;
}
.ks-decide-card .ks-answer:hover { text-decoration: underline; }

/* ── PROSE ── */
.ks-prose { max-width: 1400px; margin: 36px auto 0; }
.ks-prose h3 {
  font-family: 'Playfair Display', Georgia, serif; font-size: 20px;
  font-weight: 700; color: #0f172a; margin: 30px 0 12px; line-height: 1.28;
}
.ks-prose h3:first-child { margin-top: 0; }
.ks-prose p { font-size: 16px; line-height: 1.75; color: #334155; margin: 0 0 16px; }
.ks-prose ul { margin: 0 0 18px; padding-left: 0; list-style: none; }
.ks-prose ul li {
  padding-left: 26px; position: relative; font-size: 15px;
  line-height: 1.65; color: #334155; margin-bottom: 9px;
}
.ks-prose ul li::before {
  content: '→'; position: absolute; left: 0; top: 0;
  color: #6366f1; font-weight: 800;
}
.ks-prose a { color: #4f46e5; font-weight: 600; }

/* ── FAQ ── */
.ks-faq { max-width: 860px; margin: 36px auto 0; }
.ks-faq-item {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 10px;
  margin-bottom: 10px; overflow: hidden; transition: box-shadow .2s;
}
.ks-faq-item[open] { box-shadow: 0 4px 12px rgba(15,23,42,.08); }
.ks-faq-item summary {
  padding: 17px 20px; font-size: 15.5px; font-weight: 600;
  color: #0f172a; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
}
.ks-faq-item summary::-webkit-details-marker { display: none; }
.ks-faq-item summary::after {
  content: '+'; font-size: 23px; font-weight: 300;
  color: #4f46e5; transition: transform .2s; flex-shrink: 0;
}
.ks-faq-item[open] summary::after { transform: rotate(45deg); }
.ks-faq-answer { padding: 0 20px 20px; font-size: 15px; line-height: 1.72; color: #334155; }

/* ── STRIP CTA ── */
.ks-cta-strip {
  background: linear-gradient(135deg, #eef2ff 0%, #fdf4ff 100%);
  border: 1px solid #e0e7ff; border-radius: 14px;
  padding: 30px 28px; text-align: center; margin: 40px auto 0; max-width: 780px;
}
.ks-cta-strip p { font-size: 15.5px; color: #334155; margin: 0 0 16px; line-height: 1.6; }
.ks-cta-strip strong { color: #0f172a; }
.ks-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; font-size: 15px; font-weight: 600;
  border-radius: 10px; text-decoration: none;
  background: #0f172a; color: #fff; border: 1.5px solid transparent;
  transition: transform .15s, box-shadow .15s;
}
.ks-btn:hover { transform: translateY(-1px); color: #fff; box-shadow: 0 12px 24px -8px rgba(15,23,42,.3); }

@media (max-width: 700px) {
  .ks-section { padding: 44px 0; }
  .ks-prose h3 { font-size: 18px; }
}


