/* ── SmartFalco — user guide pages ─────────────────────────
   Loaded on top of styles.css (reuses its variables). */

.docs-hero {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--white);
  padding: 3.5rem 1.5rem 2.5rem;
  text-align: center;
}
.docs-hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); margin-bottom: .5rem; }
.docs-hero p  { color: var(--light-blue); max-width: 620px; margin: 0 auto; line-height: 1.6; }

.docs-breadcrumb {
  font-size: .8rem; color: var(--light-blue);
  margin-bottom: 1rem;
}
.docs-breadcrumb a { color: var(--light-blue); text-decoration: none; }
.docs-breadcrumb a:hover { color: var(--white); text-decoration: underline; }

.docs-layout {
  max-width: 860px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* Table of contents */
.docs-toc {
  background: var(--light-bg);
  border: 1px solid #e3eaf5;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
}
.docs-toc h2 { font-size: .95rem; color: var(--navy); margin-bottom: .6rem; }
.docs-toc ol { margin: 0; padding-left: 1.25rem; }
.docs-toc li { font-size: .9rem; line-height: 1.9; }
.docs-toc a  { color: var(--navy); text-decoration: none; }
.docs-toc a:hover { color: var(--green-dark); text-decoration: underline; }

/* Article body */
.docs-body h2 {
  color: var(--navy);
  font-size: 1.35rem;
  margin: 2.5rem 0 .9rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--light-bg);
}
.docs-body h3 { color: var(--navy); font-size: 1.05rem; margin: 1.6rem 0 .5rem; }
.docs-body p, .docs-body li { line-height: 1.75; color: var(--text); font-size: .95rem; }
.docs-body p { margin-bottom: .9rem; }
.docs-body ul, .docs-body ol { margin: 0 0 1rem 1.4rem; }
.docs-body li { margin-bottom: .35rem; }
.docs-body strong { color: var(--navy); }

/* Callouts */
.docs-tip, .docs-warn {
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  margin: 1rem 0 1.4rem;
  font-size: .9rem;
  line-height: 1.6;
}
.docs-tip  { background: #eef7e4; border-left: 4px solid var(--green); }
.docs-warn { background: #fdf3e4; border-left: 4px solid #e8a33d; }

/* Role cards on the guide home */
.docs-roles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}
.docs-role-card {
  display: block;
  background: var(--white);
  border: 1px solid #e3eaf5;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.25rem;
  text-decoration: none;
  transition: var(--transition);
}
.docs-role-card:hover { transform: translateY(-3px); border-color: var(--green); }
.docs-role-card .icon { font-size: 2rem; }
.docs-role-card h3 { color: var(--navy); margin: .6rem 0 .35rem; font-size: 1.05rem; }
.docs-role-card p  { color: var(--text-muted); font-size: .85rem; line-height: 1.55; margin: 0; }

/* Prev / next navigation */
.docs-nav {
  display: flex; justify-content: space-between; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid #e3eaf5;
}
.docs-nav a {
  color: var(--navy); text-decoration: none; font-weight: 600; font-size: .9rem;
}
.docs-nav a:hover { color: var(--green-dark); }

/* Simple top bar for guide pages */
.docs-topbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid #e3eaf5;
  position: sticky; top: 0; z-index: 50;
}
.docs-topbar__logo {
  display: flex; align-items: center; gap: .6rem;
  color: var(--navy); font-weight: 800; text-decoration: none; font-size: .95rem;
}
.docs-topbar__logo img { width: 30px; height: 30px; }
.docs-topbar__right { display: flex; align-items: center; gap: .9rem; }
.docs-topbar__right a { color: var(--navy); text-decoration: none; font-size: .85rem; font-weight: 600; }
.docs-topbar__right a:hover { color: var(--green-dark); }
.docs-lang-select {
  border: 1px solid #d4deee; border-radius: 8px;
  padding: .3rem .5rem; font-size: .8rem; color: var(--navy);
  background: var(--white); cursor: pointer;
}

/* Footer (light) */
.docs-footer {
  border-top: 1px solid #e3eaf5;
  padding: 1.5rem;
  text-align: center;
  font-size: .8rem;
  color: var(--text-muted);
}
.docs-footer a { color: var(--navy); }
