/* General layout */
.app-screenshot img {
	  height: auto;
	  display: block;
	  margin: 0 auto;
}

section:not(.hero) {
  max-width: 900px;
  margin: 0 auto;
}

section h2 {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #333;
}

section h3 {
  font-size: 1.3em;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #444;
}

p {
  margin-bottom: 15px;
  color: #555;
}

ul, ol {
  margin: 15px 0 20px 20px;
}

li {
  margin-bottom: 10px;
}

/* FAQ Section */
.faq {
  background: #f9f9f9;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  padding: 25px;
}

.faq h3 {
  font-weight: 600;
}

/* Use Cases Section */
.use-cases ul {
  list-style-type: disc;
  padding-left: 20px;
}

.use-cases li strong {
  color: #222;
}

/* Comparison Table */
.comparison table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; /* ensures full width usage */
}

.comparison th {
  background-color: #0077cc; /* stronger blue for visibility */
  color: #fff;
  font-weight: bold;
  text-align: center;
  padding: 12px;
  width: auto;
}

.comparison th:first-child {
  text-align: left;
}

.comparison td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
}

/* Tutorial Section */
.tutorial ol {
  counter-reset: step-counter;
}

.tutorial ol li {
  counter-increment: step-counter;
  margin-bottom: 12px;
  position: relative;
  padding-left: 30px;
}

.tutorial ol li::before {
  content: counter(step-counter) ".";
  position: absolute;
  left: 0;
  font-weight: bold;
  color: #0077cc;
}

/* Trust Section */
.trust {
  background: #eef7ff;
  border: 1px solid #cde4f7;
  border-radius: 8px;
  padding: 25px;
  color: #333;
}

/* -- New article & typography improvements -- */
:root{
  --site-bg: #f8fafc;
  --text-color: #263238;
  --muted: #6b7280;
  --accent: #2563eb; /* blue-600 */
  --content-max: 880px;
}

html, body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text-color);
  background-color: var(--site-bg);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

/* Prose/article container */
.prose {
  max-width: var(--content-max);
  margin: 0 auto;
  color: var(--text-color);
  line-height: 1.7;
  font-size: 18px;
}

.prose p {
  color: #374151; /* slightly darker for readability */
  font-size: 1rem;
  margin-bottom: 1.05em;
}

.prose h1 {
  font-size: 2.25rem;
  line-height: 1.1;
  margin: 0 0 0.5rem 0;
  color: #0f172a;
}

.prose h2 {
  font-size: 1.5rem;
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
  color: #0b1220;
}

.prose h3 {
  font-size: 1.15rem;
  margin-top:1.2rem;
  margin-bottom:0.6rem;
  color: #102030;
}

.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose ul, .prose ol {
  margin-left: 1.25rem;
  margin-bottom: 1rem;
}

.prose li {
  margin-bottom: 0.6rem;
}

.prose img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
  border-radius: 8px;
}

.prose blockquote {
  border-left: 4px solid #e2e8f0;
  padding-left: 1rem;
  color: #475569;
  font-style: italic;
  margin: 1rem 0;
  background: #f8fafc;
  border-radius: 4px;
  padding: 0.8rem 1rem;
}

.prose code, .prose pre code {
  background: #0f172a10; /* subtle */
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
  font-size: 0.95em;
}

.prose pre {
  background: #0f172a06;
  padding: 12px;
  border-radius: 8px;
  overflow: auto;
  margin: 1rem 0;
}

/* Small print and meta info */
.text-gray-500 {
  color: var(--muted) !important;
}

/* Improve header and footer spacing on article pages */
header.bg-gradient-to-r {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

footer {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* Card-like main container shadow and spacing */
main.container {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Buttons/links inside content */
a.button, .btn {
  display: inline-block;
  background: var(--accent) !important;
  color: #fff !important;
  padding: .5rem 0.9rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover, a.button:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn:focus {
  outline: 3px solid rgba(37,99,235,0.2);
  outline-offset: 2px;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .prose {
    padding: 0 1rem;
    font-size: 17px;
  }

  .prose h1 { font-size: 1.9rem; }
  .prose h2 { font-size: 1.25rem; }
}

@media (max-width: 600px) {
  .prose { font-size: 16px; line-height: 1.6; }
  header .text-3xl { font-size: 1.5rem; }
}

/* End of new styles */
