/* Generado por libra-web-kit/scripts/generate_css.py -- NO EDITAR A MANO.
   Editar libra_web_kit/templates/style.css.template (compartido) o
   libra_web_kit/site_css_tokens.py (valores de este sitio), y correr
   el script de nuevo. */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --brand:       #e11d48;
  --brand-dark:  #be123c;
  --brand-light: #fff1f2;
  --accent:      #10b981;
  --dark:        #0f172a;
  --dark-2:      #1e293b;
  --muted:       #64748b;
  --border:      #e2e8f0;
  --bg:          #f8fafc;
  --white:       #ffffff;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,.08);
  --shadow-sm:   0 1px 6px rgba(0,0,0,.06);
}

/* ── Reset base ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', system-ui, -apple-system, sans-serif;
       color: var(--dark-2); background: var(--white); line-height: 1.6; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

/* ── Navbar ────────────────────────────────────────────────── */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-brand {
  font-size: 1.3rem; font-weight: 800; color: var(--dark);
  display: flex; align-items: center; gap: .5rem;
}
/* La marca es una <img> con el SVG dibujado de libra-ui (ADR-009): ya trae el
   cuadrado del color y el redondeo, asi que sin fondo, color de texto ni radio. */
.navbar-brand .logo-icon {
  width: 32px; height: 32px; display: block; flex-shrink: 0;
}
.navbar-links { display: flex; align-items: center; gap: 1.5rem; }
.navbar-links a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.navbar-links a:hover { color: var(--dark); text-decoration: none; }
.btn-nav {
  background: var(--brand); color: white !important;
  padding: .45rem 1.1rem; border-radius: 8px; font-weight: 600;
  font-size: .9rem; transition: background .15s;
}
.btn-nav:hover { background: var(--brand-dark) !important; text-decoration: none !important; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .7rem 1.5rem; border-radius: 10px; font-weight: 600;
  font-size: 1rem; cursor: pointer; border: none; transition: all .15s;
  text-decoration: none;
}
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); color: white; text-decoration: none; }
.btn-outline { background: transparent; color: var(--brand);
               border: 2px solid var(--brand); }
.btn-outline:hover { background: var(--brand-light); text-decoration: none; }
.btn-white { background: white; color: var(--brand); }
.btn-white:hover { background: var(--brand-light); color: var(--brand-dark); text-decoration: none; }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem 1rem; font-size: .88rem; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background:
    linear-gradient(to bottom, rgba(26,7,16,.86) 0%, rgba(40,10,24,.70) 55%, rgba(26,7,16,.92) 100%),
    url('/img/burbujas-hero.svg') 70% center / cover no-repeat,
    #1a0710;
  color: white;
  padding: 6rem 2rem 5rem;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(225,29,72,.28) 0%, transparent 65%);
}
.hero-content { position: relative; max-width: 760px; margin: 0 auto; }
.hero-badge {
  display: inline-block; background: rgba(225,29,72,.25);
  border: 1px solid rgba(225,29,72,.5);
  color: #fda4af; font-size: .82rem; font-weight: 600;
  padding: .3rem .9rem; border-radius: 999px; margin-bottom: 1.5rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 900;
  line-height: 1.15; margin: 0 0 1.2rem;
  letter-spacing: -.02em;
}
.hero h1 span { color: #fb7185; }
.hero p { font-size: 1.15rem; color: #e4d8dc; margin: 0 auto 2.5rem;
          max-width: 580px; }
@media (max-width: 640px) {
  .hero { background-position: 0 0, 30% center, 0 0; }
}
:root {
  --p-hero-accent: #fda4af;
  --p-on-dark-accent: #fb7185;
  --p-brand-rgb: 225,29,72;
  --p-deep-rgb: 26,7,16;
  --p-hover-rgb: 136,19,55;
  --p-card-border: #e7e5e4;
  --p-step-end: #fecdd3;
  --p-dark-1: #1a0710;
  --p-dark-2: #2a0c18;
  --p-footer-bg: #14050c;
  --p-footer-line: #2a1820;
  --p-on-dark-text: #e4d8dc;
  --p-on-dark-muted: #b4a3a9;
  --p-on-dark-faint: #94868b;
  --p-on-dark-accent-rgb: 251,113,133;
}

/* ── Pulido compartido (nacio en VentaLibra, ADR-010) ──────────
   Los colores propios de cada sitio salen de las variables --p-*
   (site_css_tokens.PULIDO_VARS); aca no va ningun color de marca fijo. */
.hero { min-height: min(80vh, 720px); display: flex; align-items: center;
        padding: 5rem 2rem; }
.hero-content { max-width: 820px; }
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.8rem); line-height: 1.08;
           letter-spacing: -.03em; text-wrap: balance; }
.hero h1 span { display: block; margin-top: .5rem; font-size: .5em;
                font-weight: 600; letter-spacing: -.01em; color: var(--p-hero-accent); }
.hero p { text-wrap: pretty; line-height: 1.7; }
.hero .btn { margin: .3rem .35rem; }
.hero .btn-primary { box-shadow: 0 8px 24px rgba(var(--p-brand-rgb),.35); }
.hero .btn-white { background: rgba(255,255,255,.08); color: #fff;
                   border: 1px solid rgba(255,255,255,.35);
                   backdrop-filter: blur(6px); }
.hero .btn-white:hover { background: rgba(255,255,255,.16); color: #fff; }

/* Pulido general */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 72px; }
.navbar { box-shadow: 0 1px 0 rgba(15,23,42,.04); }
.btn { letter-spacing: -.005em; }
.btn-primary:hover { transform: translateY(-1px); }
.section-label { display: inline-flex; align-items: center; gap: .6rem; }
.section-label::before { content: ''; width: 24px; height: 2px;
                         background: var(--brand); }
.section-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; }
.feature-card { padding: 1.75rem; border-color: var(--p-card-border); box-shadow: none; }
.feature-card:hover { border-color: var(--brand);
                      box-shadow: 0 12px 32px rgba(var(--p-hover-rgb),.10); }
.feature-icon { width: 48px; height: 48px; border-radius: 12px; }
.plan-card { border-radius: 18px; transition: box-shadow .2s, transform .2s; }
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan-card.featured { background: linear-gradient(180deg, var(--brand-light) 0%, #fff 55%); }
.cta-section { background:
    radial-gradient(ellipse at 20% 0%, rgba(255,255,255,.14) 0%, transparent 55%),
    linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%); }
:focus-visible { outline: 3px solid rgba(var(--p-brand-rgb),.5); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Franja de puntos fuertes, rubros, pasos y planes */
.highlights { position: relative; z-index: 2; max-width: 1100px;
              width: calc(100% - 4rem); margin: -2.75rem auto 0;
              display: grid; grid-template-columns: repeat(4, 1fr);
              background: #fff; border: 1px solid var(--p-card-border); border-radius: 16px;
              box-shadow: 0 20px 48px rgba(var(--p-deep-rgb),.18); }
.highlight { display: flex; align-items: center; gap: .85rem; padding: 1.4rem 1.5rem; }
.highlight + .highlight { border-left: 1px solid #f1f5f9; }
.highlight > i { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
                 background: var(--brand-light); color: var(--brand-dark);
                 display: flex; align-items: center; justify-content: center;
                 font-size: 1.25rem; }
.highlight strong { display: block; font-size: .95rem; color: var(--dark); line-height: 1.3; }
.highlight span { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; }
#funciones { padding-top: 7rem; }
.rubros { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
          gap: 1.25rem; margin-top: 3rem; }
.rubro { background: #fff; border: 1px solid var(--p-card-border); border-radius: 16px;
         padding: 2rem 1.75rem; transition: box-shadow .2s, transform .2s; }
.rubro:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rubro-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--dark);
              color: var(--p-on-dark-accent); display: flex; align-items: center;
              justify-content: center; font-size: 1.6rem; margin-bottom: 1.25rem; }
.rubro h3 { font-size: 1.1rem; font-weight: 800; color: var(--dark); margin: 0 0 .5rem; }
.rubro p { font-size: .95rem; color: var(--muted); margin: 0; line-height: 1.6; }
.steps { position: relative; }
.steps::before { content: ''; position: absolute; top: 24px; left: 16.6%; right: 16.6%;
                 height: 2px; background: linear-gradient(90deg, var(--brand) 0%, var(--p-step-end) 100%); }
.step-num { position: relative; background: #fff; color: var(--brand-dark);
            border: 2px solid var(--brand); box-shadow: 0 0 0 8px #fff; }
.step p { max-width: 280px; margin: 0 auto; line-height: 1.6; }
.pricing-grid { align-items: stretch; }
.plan-card { display: flex; flex-direction: column; }
.plan-features { flex: 1; }
.plan-price { font-size: 1.6rem !important; }
.showcase { background: linear-gradient(180deg, var(--p-dark-1) 0%, var(--p-dark-2) 100%); color: #fff;
            padding-bottom: 6rem; }
.showcase .section-label { color: var(--p-on-dark-accent); }
.showcase .section-label::before { background: var(--p-on-dark-accent); }
.showcase .section-title { color: #fff; }
.showcase .section-sub { color: var(--p-on-dark-text); }
.browser { margin: 0; border-radius: 12px; overflow: hidden; background: #fff;
           border: 1px solid rgba(255,255,255,.14);
           box-shadow: 0 30px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(0,0,0,.2); }
.browser-bar { display: flex; align-items: center; gap: .4rem; padding: .55rem .85rem;
               background: #f1f5f9; border-bottom: 1px solid #e2e8f0; }
.browser-bar > span { width: 9px; height: 9px; border-radius: 50%; background: #cbd5e1; }
.browser-url { flex: 1; max-width: 300px; margin: 0 auto; padding: .15rem .75rem;
               background: #fff; border: 1px solid #e2e8f0; border-radius: 999px;
               font-size: .7rem; color: var(--muted); text-align: center; }
.browser-bar::after { content: ''; width: 41px; }
.browser-body { overflow-x: auto; }
.browser-body img { display: block; width: 100%; height: auto; }
.showcase-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem;
                 margin: 3rem 0 0; }
.showcase-grid.tres { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.showcase-fig { margin: 0; }
.showcase-fig figcaption { margin-top: 1.1rem; text-align: center; font-size: .92rem;
                           color: var(--p-on-dark-text); }
.showcase-cta { text-align: center; margin-top: 2.5rem; }

/* Plan unico: una tarjeta centrada, con el precio de protagonista */
.pricing-grid.unico { grid-template-columns: minmax(0, 640px); justify-content: center; }
.plan-unico { padding: 2.5rem 2.25rem; text-align: center; }
.plan-unico .plan-name { margin-bottom: .5rem; }
.plan-unico .plan-price { font-size: clamp(2.6rem, 6vw, 3.4rem) !important; margin: .25rem 0; }
.plan-unico .plan-price span { font-size: 1.05rem; }
.plan-iva { margin: 0 0 .75rem; font-size: .82rem; color: var(--muted); }
.plan-unico .plan-cta { justify-content: center; }
.plan-unico .plan-features { columns: 2; column-gap: 2rem; text-align: left; margin-bottom: 1.75rem; }
.plan-unico .plan-features li { break-inside: avoid; }
.plan-incluye { margin: 0 0 .75rem; text-align: left; font-size: .78rem; font-weight: 700;
                letter-spacing: .08em; text-transform: uppercase; color: var(--brand-dark); }
.plan-sucursal-nota { margin: 1.5rem 0 0; padding: .9rem 1.1rem; border-radius: 12px;
                      background: var(--brand-light); color: var(--dark-2); font-size: .95rem; }
.ejemplos-precio { max-width: 640px; margin: 2.5rem auto 0; background: #fff;
                   border: 1px solid var(--p-card-border); border-radius: 16px; overflow: hidden; }
.ejemplos-precio > div { display: flex; justify-content: space-between; gap: 1rem;
                         padding: .8rem 1.25rem; font-size: .95rem; color: var(--dark-2); }
.ejemplos-precio > div + div { border-top: 1px solid #f1f5f9; }
.ejemplos-precio strong { color: var(--dark); white-space: nowrap; }
.ejemplos-precio .ejemplos-titulo { background: var(--bg); font-size: .78rem; font-weight: 700;
                                    letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) {
  .plan-unico { padding: 2rem 1.25rem; }
  .plan-unico .plan-features { columns: 1; }
}

/* Pie de pagina */
.site-footer { padding: 4rem 2rem 2rem; background: var(--p-footer-bg);
               border-top: 3px solid var(--brand); }
.f-inner { max-width: 1100px; margin: 0 auto; display: grid;
           grid-template-columns: 1.6fr 1fr 1.1fr; gap: 2.5rem; }
.f-logo { width: 28px; height: 28px; display: block; flex-shrink: 0; }
.f-tagline { margin: 1rem 0 1.5rem; max-width: 300px; font-size: .9rem;
             line-height: 1.65; color: var(--p-on-dark-muted); }
.f-cta { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem;
         border: 1px solid rgba(var(--p-on-dark-accent-rgb),.45); border-radius: 10px;
         color: var(--p-hero-accent);
         font-size: .9rem; font-weight: 600; transition: background .15s; }
.f-cta:hover { background: rgba(var(--p-on-dark-accent-rgb),.1); text-decoration: none; }
.f-col { display: flex; flex-direction: column; gap: .6rem; }
.f-title { margin-bottom: .4rem; font-size: .75rem; font-weight: 700;
           letter-spacing: .1em; text-transform: uppercase; color: var(--p-on-dark-muted); }
.f-col a { display: block; color: var(--p-on-dark-text); font-size: .92rem; transition: color .15s; }
.f-col a:hover { color: var(--p-on-dark-accent); text-decoration: none; }
.f-col a i { margin-right: .5rem; color: var(--p-on-dark-muted); }
.f-bottom { max-width: 1100px; margin: 3rem auto 0; padding-top: 1.5rem;
            border-top: 1px solid var(--p-footer-line); display: flex; flex-wrap: wrap;
            justify-content: space-between; gap: .75rem; font-size: .82rem;
            color: var(--p-on-dark-muted); }
.f-bottom a { color: var(--p-on-dark-muted); }
.f-bottom a:hover { color: var(--p-on-dark-accent); text-decoration: none; }
@media (max-width: 960px) {
  .f-inner { grid-template-columns: 1fr 1fr; }
  .f-about { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .site-footer { padding: 3rem 1.25rem 1.5rem; }
  .f-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* Preguntas frecuentes */
.faq-container { max-width: 820px; }
.faq-list { margin-top: 2.5rem; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary { list-style: none; cursor: pointer; display: flex;
                    align-items: center; justify-content: space-between; gap: 1rem;
                    padding: 1.25rem .25rem; font-size: 1.05rem; font-weight: 700;
                    color: var(--dark); transition: color .15s; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex-shrink: 0; width: 28px; height: 28px;
                           border-radius: 50%; border: 1px solid var(--border);
                           display: flex; align-items: center; justify-content: center;
                           font-size: 1.2rem; font-weight: 400; color: var(--brand);
                           transition: transform .2s, background .15s; }
.faq-item summary:hover { color: var(--brand-dark); }
.faq-item[open] summary::after { content: '\2212'; background: var(--brand-light); }
.faq-item p { margin: 0; padding: 0 3rem 1.5rem .25rem; color: var(--muted);
              line-height: 1.7; font-size: .98rem; }
.faq-more { margin-top: 2rem; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) {
  .highlights { grid-template-columns: repeat(2, 1fr); }
  .highlight:nth-child(3) { border-left: none; }
  .highlight:nth-child(n+3) { border-top: 1px solid #f1f5f9; }
}
@media (max-width: 768px) {
  .steps::before { display: none; }
  .showcase-grid, .showcase-grid.tres { grid-template-columns: 1fr; }
  .browser-bar::after { display: none; }
}
@media (max-width: 520px) {
  .highlights { grid-template-columns: 1fr; width: calc(100% - 2.5rem); margin-top: -2rem; }
  .highlight + .highlight { border-left: none; border-top: 1px solid #f1f5f9; }
  #funciones { padding-top: 5rem; }
}
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 4rem 1.25rem 3.5rem; }
  section { padding: 3.5rem 1.25rem; }
}

/* ── Sections ──────────────────────────────────────────────── */
section { padding: 5rem 2rem; }
section.alt { background: var(--bg); }
.container { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: .78rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
  margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
  color: var(--dark); margin: 0 0 .75rem; letter-spacing: -.02em;
}
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 560px; }

/* ── Feature grid ──────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem; margin-top: 3rem;
}
.feature-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .4rem; color: var(--dark); }
.feature-card p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.5; }
.feature-badge {
  display: inline-block; font-size: .68rem; font-weight: 700;
  padding: .15rem .5rem; border-radius: 999px;
  margin-left: .4rem; vertical-align: middle;
}
.badge-basico   { background: #dcfce7; color: #166534; }
.badge-estandar { background: #dbeafe; color: #1e40af; }
.badge-premium  { background: #f3e8ff; color: #6b21a8; }

/* ── Pricing ───────────────────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; margin-top: 3rem; align-items: start;
}
.plan-card {
  background: white; border: 2px solid var(--border);
  border-radius: 16px; padding: 2rem 1.75rem;
  position: relative;
}
.plan-card.featured {
  border-color: var(--brand);
  box-shadow: 0 8px 32px rgba(225,29,72,.15);
}
.plan-featured-tag {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: white;
  font-size: .72rem; font-weight: 700; letter-spacing: .05em;
  padding: .25rem .9rem; border-radius: 0 0 8px 8px;
  text-transform: uppercase;
}
.plan-name { font-size: .8rem; font-weight: 700; text-transform: uppercase;
             letter-spacing: .08em; color: var(--muted); margin-bottom: .5rem; }
.plan-price { font-size: 2.4rem; font-weight: 900; color: var(--dark);
              line-height: 1; margin-bottom: .3rem; }
.plan-price span { font-size: 1rem; font-weight: 500; color: var(--muted); }
.plan-desc { font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem;
             padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.plan-features { list-style: none; padding: 0; margin: 0 0 2rem; }
.plan-features li {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .9rem; padding: .4rem 0; color: var(--dark-2);
}
.plan-features li .icon-check { color: var(--accent); font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }
.plan-features li .icon-x { color: #cbd5e1; font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }
.plan-features li.muted { color: #94a3b8; }
.plan-cta { width: 100%; text-align: center; }

/* ── Steps ─────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
         gap: 2rem; margin-top: 3rem; }
.step { text-align: center; }
.step-num {
  width: 48px; height: 48px; background: var(--brand); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 900; margin: 0 auto 1rem;
}
.step h3 { font-size: 1rem; font-weight: 700; margin: 0 0 .4rem; color: var(--dark); }
.step p  { font-size: .9rem; color: var(--muted); margin: 0; }

/* ── CTA final ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  color: white; text-align: center; padding: 5rem 2rem;
}
.cta-section h2 { font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 800;
                  margin: 0 0 1rem; letter-spacing: -.02em; }
.cta-section p  { color: #fecdd3; margin: 0 auto 2rem; max-width: 500px; }

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--dark); color: #94a3b8;
  padding: 3rem 2rem 2rem;
}
.footer-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: space-between; align-items: flex-start;
}
.footer-brand { font-size: 1.1rem; font-weight: 800; color: white;
                display: flex; align-items: center; gap: .5rem; }
.footer-brand .logo-icon { width: 28px; height: 28px; display: block; flex-shrink: 0; }
.footer-tagline { font-size: .85rem; color: #64748b; margin-top: .3rem; }
.footer-copy { margin-top: 2rem; padding-top: 1.5rem;
               border-top: 1px solid #1e293b;
               max-width: 1100px; margin-left: auto; margin-right: auto;
               font-size: .82rem; color: #475569; text-align: center; }

/* ── Docs layout ───────────────────────────────────────────── */
.docs-wrapper { display: flex; min-height: calc(100vh - 64px); }

.docs-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--bg);
  border-right: 1px solid var(--border);
  padding: 1.5rem 0;
  position: sticky; top: 64px;
  height: calc(100vh - 64px);
  overflow-y: auto;
}
.docs-sidebar-section {
  font-size: .7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted);
  padding: .9rem 1.5rem .3rem;
}
.docs-sidebar a {
  display: block; padding: .42rem 1.5rem;
  font-size: .9rem; color: var(--dark-2);
  border-left: 3px solid transparent;
  transition: all .1s;
}
.docs-sidebar a:hover { background: var(--border); color: var(--brand);
                         text-decoration: none; }
.docs-sidebar a.active { color: var(--brand); font-weight: 600;
                          border-left-color: var(--brand);
                          background: var(--brand-light); }

.docs-content {
  flex: 1; min-width: 0; padding: 2.5rem 3rem;
  max-width: 820px;
}
.docs-content h1 { font-size: 1.9rem; font-weight: 800; color: var(--dark);
                    margin: 0 0 .5rem; letter-spacing: -.02em; }
.docs-content .docs-lead { font-size: 1.05rem; color: var(--muted);
                             margin: 0 0 2rem; padding-bottom: 1.5rem;
                             border-bottom: 1px solid var(--border); }
.docs-content h2 { font-size: 1.25rem; font-weight: 700; color: var(--dark);
                    margin: 2rem 0 .75rem; padding-top: .5rem; }
.docs-content h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark-2);
                    margin: 1.5rem 0 .5rem; }
.docs-content p  { margin: 0 0 1rem; color: var(--dark-2); }
.docs-content ul, .docs-content ol { padding-left: 1.4rem; margin: 0 0 1rem; }
.docs-content li { margin-bottom: .35rem; color: var(--dark-2); }

.callout {
  border-left: 4px solid var(--brand); background: var(--brand-light);
  padding: .9rem 1.2rem; border-radius: 0 8px 8px 0; margin: 1.25rem 0;
}
.callout.warn { border-color: #f59e0b; background: #fffbeb; }
.callout.success { border-color: var(--accent); background: #f0fdf4; }
.callout strong { color: var(--dark); }
.callout p { margin: 0; font-size: .92rem; }

.step-list { counter-reset: steps; list-style: none; padding: 0; }
.step-list li {
  counter-increment: steps; padding: .6rem 0 .6rem 3rem;
  position: relative; border-bottom: 1px solid var(--border); font-size: .95rem;
}
.step-list li:last-child { border-bottom: none; }
.step-list li::before {
  content: counter(steps);
  position: absolute; left: 0; top: .55rem;
  width: 26px; height: 26px; background: var(--brand); color: white;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800;
}

.docs-nav-footer {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border);
}
.docs-nav-footer a {
  display: flex; align-items: center; gap: .4rem;
  font-size: .9rem; font-weight: 600; color: var(--brand);
}
.docs-nav-footer a:hover { text-decoration: underline; }

table.docs-table {
  width: 100%; border-collapse: collapse; margin: 1rem 0;
  font-size: .9rem;
}
.docs-table th { background: var(--bg); padding: .6rem .9rem;
                  font-size: .78rem; text-transform: uppercase;
                  letter-spacing: .04em; color: var(--muted);
                  border-bottom: 2px solid var(--border); text-align: left; }
.docs-table td { padding: .6rem .9rem; border-bottom: 1px solid var(--border); }
.docs-table tr:last-child td { border-bottom: none; }

kbd {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 4px; padding: .1rem .45rem;
  font-size: .82rem; font-family: monospace; color: var(--dark-2);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .navbar-links a:not(.btn-nav) { display: none; }
  .docs-sidebar { display: none; }
  .docs-content { padding: 1.5rem; }
  .footer-inner { flex-direction: column; }
}
