/* Shared styles for the static guide pages (public/*.html). */
:root {
  --navy: #0c1829;
  --navy-light: #1a2d47;
  --amber: #f59e0b;
  --amber-light: #fbbf24;
  --teal: #14b8a6;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0f172a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--slate-700);
  background: var(--slate-50);
  line-height: 1.75;
  font-size: 17px;
}

a { color: #b45309; }

.site-header {
  background: white;
  border-bottom: 1px solid var(--slate-200);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--amber);
  text-decoration: none;
}

.brand svg { width: 30px; height: 30px; color: var(--amber); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--navy);
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.1rem;
  border-radius: 10px;
  white-space: nowrap;
}

main {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 1.25rem;
}

.breadcrumb a { color: var(--slate-500); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.6rem;
  line-height: 1.3;
  color: var(--navy);
  margin: 2.75rem 0 0.75rem;
}

h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 1.75rem 0 0.5rem;
}

.lead {
  font-size: 1.15rem;
  color: var(--slate-600);
}

.meta {
  font-size: 0.9rem;
  color: var(--slate-500);
  margin-bottom: 2rem;
}

ul, ol { padding-left: 1.4rem; }
li { margin-bottom: 0.4rem; }

.toc {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}

.toc strong { color: var(--navy); }
.toc ol { margin: 0.5rem 0 0; }

.callout {
  background: white;
  border-left: 4px solid var(--teal);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  font-size: 0.97rem;
}

th, td {
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--slate-200);
  vertical-align: top;
}

th { background: var(--navy); color: white; font-weight: 700; }

.cta-box {
  margin: 3rem 0;
  background: var(--navy);
  color: white;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
}

.cta-box h2 { color: white; margin-top: 0; }
.cta-box p { color: #cbd5e1; margin: 0 0 1.5rem; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  color: var(--navy);
}

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.35);
  color: white;
}

.faq details {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
}

.faq details p { margin: 0.75rem 0 0; }

.related {
  margin-top: 3rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.related-grid a {
  display: block;
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.4;
}

.related-grid a span {
  display: block;
  font-weight: 500;
  color: var(--slate-600);
  font-size: 0.92rem;
  margin-top: 0.35rem;
}

.related-grid a:hover { border-color: var(--amber); }

.site-footer {
  background: var(--navy);
  color: #cbd5e1;
  font-size: 0.92rem;
}

.site-footer .inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
}

.site-footer a { color: white; text-decoration: none; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg { width: 30px; height: 30px; }
.header-cta svg { width: 17px; height: 17px; color: #25d366; }
.btn svg { width: 20px; height: 20px; margin-right: 0.5rem; }
.btn-primary svg { color: #128c4b; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .header-cta { font-size: 0.85rem; padding: 0.5rem 0.8rem; }
  th, td { padding: 0.6rem 0.7rem; }
}
