/* Shared styles for Healper's static SEO guide pages (frontend/public/guides/).
   Hand-written to mirror the Tailwind slate/emerald theme used by the React
   app (see App.tsx) without depending on the app's build-hashed CSS bundle,
   since these pages are served as plain static files, not Vite-processed. */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(to bottom, #020617, #0f172a, #020617);
  color: #cbd5e1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

.wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  padding: 0.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, #10b981, #0d9488);
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.25);
  display: flex;
}

.brand-name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(to right, #34d399, #2dd4bf, #22d3ee);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

header.page-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

header.page-header .kicker {
  margin-top: 0.75rem;
  color: #94a3b8;
  font-size: 1.05rem;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}

.breadcrumbs a {
  color: #64748b;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #34d399;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #f1f5f9;
  line-height: 1.25;
  margin: 0.5rem 0 0;
}

article h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #34d399;
  margin: 2.5rem 0 1rem;
}

article h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
  margin: 1.5rem 0 0.5rem;
}

article p {
  color: #94a3b8;
  margin: 0.9rem 0;
}

article ul, article ol {
  color: #94a3b8;
  padding-left: 1.4rem;
}

article li {
  margin: 0.4rem 0;
}

article li strong,
article p strong {
  color: #e2e8f0;
  font-weight: 600;
}

article a {
  color: #34d399;
  text-decoration: underline;
  text-decoration-color: rgba(52, 211, 153, 0.4);
  text-underline-offset: 2px;
}

article a:hover {
  color: #6ee7b7;
}

.card {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.5);
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.metric-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.metric-table th, .metric-table td {
  text-align: left;
  padding: 0.6rem 0.75rem;
  border: 1px solid rgba(51, 65, 85, 0.5);
}

.metric-table th {
  background: rgba(15, 23, 42, 0.6);
  color: #cbd5e1;
  font-weight: 600;
}

.metric-table td {
  color: #94a3b8;
}

.cta {
  margin-top: 3rem;
  text-align: center;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 1rem;
  padding: 2.25rem 1.5rem;
}

.cta h2 {
  margin-top: 0;
  color: #f1f5f9;
}

.cta p {
  max-width: 32rem;
  margin: 0.5rem auto 1.5rem;
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 0.75rem;
  background: linear-gradient(to right, #059669, #0d9488);
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.35);
}

.cta-button:hover {
  background: linear-gradient(to right, #10b981, #14b8a6);
}

.related {
  margin-top: 2.5rem;
}

.related h2 {
  font-size: 1.1rem;
  color: #e2e8f0;
}

.related ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.related a {
  display: block;
  padding: 0.85rem 1rem;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(51, 65, 85, 0.4);
  border-radius: 0.65rem;
  color: #cbd5e1;
  text-decoration: none;
  transition: border-color 0.15s ease;
}

.related a:hover {
  border-color: rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
}

footer.page-footer {
  text-align: center;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(30, 41, 59, 0.6);
  color: #64748b;
  font-size: 0.9rem;
}

footer.page-footer nav {
  margin-top: 0.75rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

footer.page-footer nav a {
  color: #94a3b8;
  text-decoration: none;
}

footer.page-footer nav a:hover {
  color: #34d399;
}
