/* Crawlable / no-JS readability layer — hidden once the SPA mounts (body.alosim-app-ready). */
:root {
  --seo-brand: #00b875;
  --seo-brand-dark: #009a63;
  --seo-text: #0f172a;
  --seo-muted: #475569;
  --seo-border: #e2e8f0;
  --seo-max: 760px;
}

html:not(.alosim-app-ready) body {
  overflow: auto !important;
  height: auto !important;
  min-height: 100%;
}

html:not(.alosim-app-ready) #root {
  display: none !important;
}

html.alosim-app-ready #alosim-seo-readability {
  display: none !important;
}

#alosim-seo-readability,
.seo-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--seo-text);
  background: #fff;
}

#alosim-seo-readability a,
.seo-page a {
  color: var(--seo-brand-dark);
}

.seo-header {
  border-bottom: 1px solid var(--seo-border);
  background: rgba(255, 255, 255, 0.96);
  position: sticky;
  top: 0;
  z-index: 2;
}

.seo-header-inner {
  max-width: var(--seo-max);
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.seo-brand {
  font-weight: 800;
  color: var(--seo-text);
  text-decoration: none;
}

.seo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  font-size: 0.92rem;
}

.seo-main {
  max-width: var(--seo-max);
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

.seo-main h1 {
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

.seo-main h2 {
  font-size: 1.15rem;
  margin: 1.75rem 0 0.5rem;
}

.seo-lead {
  color: var(--seo-muted);
  font-size: 1.05rem;
  margin: 0 0 1.25rem;
}

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

.seo-card {
  border: 1px solid var(--seo-border);
  border-radius: 12px;
  padding: 1rem;
  background: #f8fafc;
}

.seo-cta {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--seo-brand);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

.seo-footer {
  border-top: 1px solid var(--seo-border);
  padding: 1.25rem 1rem 2rem;
  color: var(--seo-muted);
  font-size: 0.9rem;
}

.seo-footer-inner {
  max-width: var(--seo-max);
  margin: 0 auto;
}

.seo-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-top: 0.75rem;
}

.seo-trust {
  border-left: 3px solid var(--seo-brand);
  padding-left: 0.85rem;
  margin: 1.25rem 0;
  color: var(--seo-muted);
}

.seo-lang-note {
  font-size: 0.88rem;
  color: var(--seo-muted);
  margin-top: 1.5rem;
}

.seo-steps {
  counter-reset: seo-step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.seo-steps li {
  counter-increment: seo-step;
  margin: 0 0 0.85rem;
  padding-left: 2rem;
  position: relative;
}

.seo-steps li::before {
  content: counter(seo-step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--seo-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
