/* Shared styles for The Invoicer App blog (static SEO pages) */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1f2937;
  background: #f9fafb;
  line-height: 1.7;
}
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  padding: 16px 24px;
}
.site-header .inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 40px; width: auto; display: block; }
.site-header nav a {
  color: #4b5563;
  text-decoration: none;
  margin-left: 20px;
  font-size: 15px;
}
.site-header nav a:hover { color: #2563eb; }
.site-header nav a.cta {
  background: linear-gradient(to right, #2563eb, #9333ea);
  color: #fff;
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: 600;
}
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}
.eyebrow {
  display: inline-block;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
h1 {
  font-size: 38px;
  line-height: 1.2;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
}
.byline { color: #6b7280; font-size: 14px; margin-bottom: 32px; }
article h2 {
  font-size: 26px;
  font-weight: 700;
  color: #111827;
  margin: 40px 0 12px;
}
article h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111827;
  margin: 28px 0 8px;
}
article p { margin: 0 0 16px; color: #374151; }
article ul, article ol { margin: 0 0 16px 24px; color: #374151; }
article li { margin-bottom: 8px; }
article a { color: #2563eb; }
article blockquote {
  border-left: 4px solid #93c5fd;
  padding: 8px 20px;
  margin: 0 0 16px;
  background: #eff6ff;
  border-radius: 0 8px 8px 0;
  color: #1e3a8a;
}
article table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 15px;
}
article th, article td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  vertical-align: top;
}
article th { background: #f3f4f6; }
.cta-box {
  background: linear-gradient(135deg, #2563eb, #9333ea);
  color: #fff;
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}
.cta-box h2 { color: #fff; margin: 0 0 8px; font-size: 24px; }
.cta-box p { color: #dbeafe; margin-bottom: 20px; }
.cta-box a {
  display: inline-block;
  background: #fff;
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 10px;
}
.post-list { list-style: none; margin: 0; padding: 0; }
.post-list li {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 16px;
}
.post-list h2 { margin: 0 0 6px; font-size: 22px; }
.post-list h2 a { color: #111827; text-decoration: none; }
.post-list h2 a:hover { color: #2563eb; }
.post-list p { margin: 0; color: #6b7280; font-size: 15px; }
.related {
  border-top: 1px solid #e5e7eb;
  margin-top: 48px;
  padding-top: 24px;
}
.related h2 { font-size: 20px; margin: 0 0 12px; }
.related ul { list-style: none; margin: 0; padding: 0; }
.related li { margin-bottom: 8px; }
.site-footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
  padding: 32px 24px;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}
.site-footer a { color: #2563eb; text-decoration: none; }
.lead { font-size: 19px; color: #374151; }

/* Interactive demo blocks */
.demo {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  margin: 28px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.demo-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: 16px;
  text-align: center;
}
.demo-caption {
  font-size: 13px;
  color: #6b7280;
  margin-top: 14px;
  text-align: center;
}
.demo .go {
  display: block;
  margin: 0 auto;
  background: linear-gradient(to right, #2563eb, #9333ea);
  color: #fff;
  border: none;
  font-weight: 700;
  font-size: 16px;
  padding: 12px 28px;
  border-radius: 10px;
  cursor: pointer;
  animation: pulse 2.2s infinite;
}
.demo .go:disabled { opacity: 0.6; cursor: default; animation: none; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4); }
  70% { box-shadow: 0 0 0 14px rgba(37, 99, 235, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
.demo input[type="range"] {
  width: 100%;
  accent-color: #2563eb;
  cursor: pointer;
}
.demo label { cursor: pointer; }
.big-number {
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  transition: color 0.3s;
}
.cta-box a { animation: pulse 2.6s infinite; }

@media (max-width: 600px) {
  h1 { font-size: 30px; }
  main { padding: 32px 18px 48px; }
  .big-number { font-size: 42px; }
}
