/* FixitKey — custom styles (Tailwind CDN handles utilities) */
:root {
  --brand: #0e7490;
  --brand-dark: #0b3b44;
  --accent: #f59e0b;
}

html { scroll-behavior: smooth; }

.hero-gradient {
  background: linear-gradient(135deg, #0b3b44 0%, #0e7490 60%, #1493a8 100%);
}

.card-hover { transition: transform .2s ease, box-shadow .2s ease; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(11,59,68,.15); }

.prose-table { width: 100%; border-collapse: collapse; font-size: .925rem; }
.prose-table th, .prose-table td { border: 1px solid #e2e8f0; padding: .65rem .8rem; text-align: left; }
.prose-table thead th { background: #f0fdfa; color: #0b3b44; font-weight: 700; }
.prose-table tbody tr:nth-child(even) { background: #f8fafc; }

.toc { background: #f0fdfa; border: 1px solid #ccfbf1; border-radius: .75rem; padding: 1.25rem 1.5rem; }
.toc ul { list-style: disc; padding-left: 1.25rem; }
.toc li { margin: .3rem 0; }
.toc a { color: #0e7490; }
.toc a:hover { text-decoration: underline; }

.faq-item { border: 1px solid #e2e8f0; border-radius: .75rem; margin-bottom: .75rem; background: #fff; }
.faq-item summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; color: #0b3b44; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: #0e7490; font-weight: 400; flex-shrink: 0; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-answer { padding: 0 1.25rem 1.25rem; color: #475569; }

.article-body h2 { font-size: 1.6rem; font-weight: 700; color: #0b3b44; margin: 2.25rem 0 1rem; scroll-margin-top: 5rem; }
.article-body h3 { font-size: 1.25rem; font-weight: 600; color: #0e7490; margin: 1.5rem 0 .75rem; }
.article-body p { margin: 0 0 1rem; line-height: 1.75; }
.article-body ul, .article-body ol { margin: 0 0 1rem 1.25rem; line-height: 1.7; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: .4rem; }
.article-body a { color: #0e7490; text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote { border-left: 4px solid #0e7490; background: #f0fdfa; padding: 1rem 1.25rem; border-radius: 0 .5rem .5rem 0; margin: 1.5rem 0; font-style: italic; }

.stars { color: #f59e0b; letter-spacing: .1em; }

.testimonial { display: none; }
.testimonial.active { display: block; animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.form-input { width: 100%; border: 1px solid #cbd5e1; border-radius: .5rem; padding: .7rem .9rem; font-size: 1rem; }
.form-input:focus { outline: 2px solid #0e7490; border-color: #0e7490; }
.form-error { color: #dc2626; font-size: .85rem; margin-top: .25rem; }
.form-input.invalid { border-color: #dc2626; }

.map-placeholder {
  background: repeating-linear-gradient(45deg, #e0f2fe, #e0f2fe 12px, #f0fdfa 12px, #f0fdfa 24px);
  border: 2px dashed #0e7490;
}

.check-yes { color: #15803d; font-weight: 700; }
.check-no { color: #dc2626; font-weight: 700; }

@media (max-width: 640px) {
  .article-body h2 { font-size: 1.35rem; }
}
