/* DaFreeAi - shared article styles. One set of rules for every blog post. */

:root { color-scheme: dark; }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #090a0d;
  color: #c8cbd1;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.78;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: #7dd3fc; text-underline-offset: 4px; }
a:hover { color: #bae6fd; }

/* ---------- page frame ---------- */
.blog-wrapper {
  max-width: 1220px;
  margin: 0 auto;
  padding: 34px 24px 84px;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 52px;
}
.article-main { min-width: 0; }
.article-main article { max-width: 800px; margin-inline: auto; }

/* ---------- left sidebar (table of contents) ---------- */
.toc-sidebar {
  position: sticky;
  top: 100px;
  align-self: start;
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  padding-right: 10px;
}
.toc-label, .eyebrow {
  font-family: 'Outfit', sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: #8f9ca6;
}
.toc-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.toc-link {
  display: block;
  padding: 7px 11px;
  border-radius: 9px;
  font-size: .84rem;
  line-height: 1.35;
  color: #9a9da8;
  text-decoration: none;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}
.toc-link:hover { background: #17181d; color: #f4f4f5; transform: translateX(3px); }
.toc-link.active { background: #202127; color: #fff; font-weight: 600; }
.toc-link:focus-visible { outline: 2px solid #85858e; outline-offset: 3px; }
.toc-aside-cta {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #24262c;
  font-size: .82rem;
  color: #8b8e98;
}
.toc-aside-cta a { display: inline-block; margin-top: 8px; font-weight: 700; text-decoration: none; }

/* ---------- article head ---------- */
.breadcrumbs { font-size: .8rem; color: #7d818c; margin-bottom: 20px; }
.breadcrumbs a { color: #9aa3ad; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.eyebrow { display: block; margin-bottom: 10px; color: #92cdea; }
.article-date-read { display: block; margin-bottom: 14px; font-size: .83rem; color: #8e919b; }
h1, h2, h3 { font-family: 'Outfit', sans-serif; color: #f7f8f9; line-height: 1.24; letter-spacing: -.025em; }
h1 { font-size: clamp(2.05rem, 4.4vw, 3.1rem); font-weight: 800; margin: 0 0 20px; }
.article-lead { font-size: 1.12rem; line-height: 1.8; color: #c8cbd1; margin: 0 0 28px; }

/* ---------- media ---------- */
.editorial-figure { margin: 30px 0 34px; }
.editorial-figure img, .editorial-figure video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  margin-inline: auto;
  background: #12141a;
  border: 1px solid #25282e;
  border-radius: 16px;
}
.editorial-figure figcaption { margin-top: 11px; font-size: .79rem; line-height: 1.6; color: #969aa4; }

/* ---------- short answer box ---------- */
.quick-answer {
  border: 1px solid #344859;
  border-radius: 16px;
  padding: 22px 25px;
  margin: 0 0 40px;
  background: linear-gradient(135deg, #16242d, #14171c 70%);
}
.quick-answer h2 { font-size: 1.06rem; margin: 0 0 8px; color: #b8e6ff; }
.quick-answer p { margin: 0; color: #dce0e5; }

/* ---------- sections ---------- */
.editorial-section { margin: 46px 0; scroll-margin-top: 106px; }
.editorial-section h2 { font-size: 1.6rem; margin: 0 0 14px; }
.editorial-section h3 { font-size: 1.14rem; margin: 26px 0 10px; }
.editorial-section p { margin: 0 0 16px; color: #c5c7ce; }
.editorial-section ul, .editorial-section ol { padding-left: 24px; margin: 14px 0 18px; color: #c5c7ce; }
.editorial-section li { padding: 4px 0; }
.editorial-section strong { color: #eef0f3; font-weight: 600; }
.editorial-section blockquote {
  margin: 22px 0;
  padding: 16px 22px;
  border-left: 3px solid #3d4b57;
  background: #13161b;
  border-radius: 0 10px 10px 0;
  color: #cfd3da;
}

/* ---------- step cards ---------- */
.step-card {
  background: #14171c;
  border: 1px solid #2d333c;
  border-radius: 15px;
  padding: 22px;
  margin: 20px 0;
}
.step-card .step-label {
  font-family: 'Outfit', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #92cdea;
  margin-bottom: 8px;
}
.step-card h3 { margin: 0 0 10px; }
.step-card p:last-child { margin-bottom: 0; }
.prompt-text {
  margin: 0;
  padding: 18px;
  background: #0b1015;
  border: 1px solid #29313a;
  border-radius: 10px;
  font: 500 .93rem/1.75 'Plus Jakarta Sans', sans-serif;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #edf1f4;
}
.tip { margin: 14px 0 0 !important; font-size: .88rem; color: #a9b7c4 !important; }

/* ---------- checklist ---------- */
.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  list-style: none;
  padding: 0;
  margin: 20px 0 22px;
}
.checklist li {
  padding: 12px 14px;
  background: #14171b;
  border: 1px solid #30353c;
  border-radius: 10px;
  font-size: .9rem;
  line-height: 1.55;
}

/* ---------- comparison table ---------- */
.table-wrap { overflow-x: auto; margin: 22px 0 26px; border: 1px solid #2a2e36; border-radius: 14px; }
.blog-table { width: 100%; border-collapse: collapse; font-size: .91rem; text-align: left; }
.blog-table th { padding: 13px 16px; background: #171a20; color: #f2f3f5; font-weight: 700; border-bottom: 1px solid #2a2e36; }
.blog-table td { padding: 13px 16px; border-bottom: 1px solid #22252b; color: #c5c7ce; vertical-align: top; }
.blog-table tr:last-child td { border-bottom: none; }

/* ---------- FAQ ---------- */
.faq-item {
  border: 1px solid #2b2f37;
  border-radius: 13px;
  background: #12151a;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item > summary {
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  color: #f2f3f5;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after { content: '+'; float: right; color: #7f8792; font-weight: 700; }
.faq-item[open] > summary::after { content: '\2013'; }
.faq-item > summary:focus-visible { outline: 2px solid #85858e; outline-offset: -3px; }
.faq-item p { margin: 0; padding: 0 20px 18px; font-size: .95rem; color: #b4b8c1; }

/* ---------- links out / related ---------- */
.link-list { list-style: none; padding: 0; margin: 16px 0 0; }
.link-list li { padding: 12px 0; border-top: 1px solid #22252b; }
.link-list li:first-child { border-top: none; }
.link-list a { font-weight: 600; text-decoration: none; }
.link-list span { display: block; font-size: .88rem; color: #9a9ea8; }

/* ---------- CTA ---------- */
.cta {
  border: 1px solid #425361;
  border-radius: 17px;
  padding: 26px;
  margin: 44px 0 28px;
  background: linear-gradient(125deg, #172730, #15171c);
}
.cta h2 { font-size: 1.34rem; margin: 0 0 8px; }
.cta p { margin: 0 0 17px; color: #c5c7ce; }
.cta a {
  display: inline-block;
  padding: 11px 18px;
  border-radius: 10px;
  background: #e8f5ff;
  color: #0b151d;
  font-weight: 800;
  text-decoration: none;
}
.cta a:hover { background: #fff; color: #0b151d; }

.updated { padding-top: 20px; border-top: 1px solid #2b2e34; font-size: .82rem; color: #9296a0; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .blog-wrapper { display: block; padding: 24px 20px 60px; }
  .toc-sidebar { position: static; max-height: none; margin-bottom: 28px; padding: 14px; background: rgba(20,21,26,.7); border: 1px solid #22242a; border-radius: 12px; }
  .toc-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .toc-aside-cta { display: none; }
}
@media (max-width: 560px) {
  .toc-nav { grid-template-columns: 1fr; }
  .checklist { grid-template-columns: 1fr; }
  .step-card { padding: 17px; }
  .editorial-section h2 { font-size: 1.38rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toc-link { transition: none; transform: none !important; }
}


