/* ==========================================================================
   Lunota — ecossistema Lu (Luarco / Lufin)
   Mesma linguagem de UI do Lufin; acento azul fiscal (#2563EB).
   ========================================================================== */

:root {
  color-scheme: light;
  --bg: #f6f9fc;
  --bg-alt: #ffffff;
  --surface: #ffffff;
  --border: rgba(10, 37, 64, 0.08);
  --border-strong: rgba(10, 37, 64, 0.14);
  --ink: #0a2540;
  --text: #0a2540;
  --muted: #425466;
  --soft: #6b7c93;
  --primary: #2563eb;
  --primary-deep: #1d4ed8;
  --primary-soft: #3b82f6;
  --primary-rgb: 37, 99, 235;
  --primary-50: #eff6ff;
  --primary-100: #dbeafe;
  --text-on-accent: #ffffff;
  --success: #16a34a;
  --success-rgb: 22, 163, 74;
  --shadow-soft: 0 1px 2px rgba(10, 37, 64, 0.06), 0 4px 12px rgba(10, 37, 64, 0.04);
  --shadow-deep: 0 12px 40px rgba(10, 37, 64, 0.12);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  --shell: min(1152px, 100%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { color-scheme: dark;
    --bg: #030712;
    --bg-alt: #111827;
    --surface: #111827;
    --border: rgba(255, 255, 255, 0.1);
    --border-strong: rgba(255, 255, 255, 0.16);
    --ink: #f9fafb;
    --text: #f9fafb;
    --muted: #9ca3af;
    --soft: #6b7280;
    --primary: #60a5fa;
    --primary-deep: #3b82f6;
    --primary-soft: #93c5fd;
    --primary-rgb: 96, 165, 250;
    --primary-50: rgba(37, 99, 235, 0.15);
    --primary-100: rgba(37, 99, 235, 0.22);
    --success: #4ade80;
    --success-rgb: 74, 222, 128;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-deep: 0 16px 40px rgba(0, 0, 0, 0.45);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #030712;
  --bg-alt: #111827;
  --surface: #111827;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --ink: #f9fafb;
  --text: #f9fafb;
  --muted: #9ca3af;
  --soft: #6b7280;
  --primary: #60a5fa;
  --primary-deep: #3b82f6;
  --primary-soft: #93c5fd;
  --primary-rgb: 96, 165, 250;
  --primary-50: rgba(37, 99, 235, 0.15);
  --primary-100: rgba(37, 99, 235, 0.22);
  --success: #4ade80;
  --success-rgb: 74, 222, 128;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-deep: 0 16px 40px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.shell { width: var(--shell); margin: 0 auto; padding-inline: 1rem; }
@media (min-width: 640px) { .shell { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .shell { padding-inline: 2rem; } }

/* ---- nav (Lufin-like glass) ---- */
nav.top {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
nav.top .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.035em;
}
.logo .mark {
  width: 32px;
  height: 32px;
  display: block;
  border-radius: 0;
  box-shadow: none;
  object-fit: contain;
}
.logo .hl { color: var(--primary); }
.logo .name { color: var(--ink); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
}
.nav-links a:hover { color: var(--primary); }
.nav-mobile-cta { display: none; }
.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.nav-toggle__icon--close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--menu { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__icon--close { display: block; }
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.theme-toggle:hover { color: var(--primary); border-color: var(--primary); }
.theme-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.theme-toggle__moon,
.theme-toggle__monitor { display: none; }
:root[data-theme="dark"]:not([data-theme-mode="auto"]) .theme-toggle__sun,
:root[data-theme-mode="auto"] .theme-toggle__sun { display: none; }
:root[data-theme="dark"]:not([data-theme-mode="auto"]) .theme-toggle__moon,
:root[data-theme-mode="auto"] .theme-toggle__monitor { display: block; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #fff !important;
  padding: 0 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-decoration: none;
}
.nav-cta:hover { background: var(--primary-deep); }

/* ---- shared ---- */
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid color-mix(in srgb, var(--primary) 25%, transparent);
  background: var(--primary-50);
  color: var(--primary-deep);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
:root[data-theme="dark"] .pill,
:root:not([data-theme="light"]) .pill {
  color: var(--primary);
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .pill { color: #1d4ed8; }
}
.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent);
}
.section-intro {
  max-width: 36rem;
  margin: 0 auto 3rem;
  text-align: center;
}
.section-intro h2 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
}
.section-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: var(--radius-full);
  padding: 0.9rem 1.5rem;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.25);
}
.btn-primary:hover {
  background: var(--primary-deep);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border-strong);
}
.btn-secondary:hover { background: var(--bg); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---- hero (Stripe-like light, like Lufin) ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
}
.hero__glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(var(--primary-rgb), 0.18), transparent),
    radial-gradient(ellipse 40% 40% at 90% 10%, rgba(59, 130, 246, 0.12), transparent);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.95fr);
  gap: 3rem;
  align-items: center;
}
.hero-copy { display: grid; gap: 1.25rem; max-width: 34rem; }
.hero h1 {
  margin: 0;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}
.hero h1 .hl { color: var(--primary); }
.lead {
  margin: 0;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 38ch;
}
.lead .hl { color: var(--primary); font-weight: 600; }
.hero-note {
  margin: 0;
  font-size: 0.875rem;
  color: var(--soft);
}

/* product mock */
.hero-visual { position: relative; }
.preview-wrap {
  position: relative;
  max-width: 28rem;
  margin-left: auto;
}
.preview-wrap::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), transparent);
  filter: blur(28px);
  z-index: 0;
  pointer-events: none;
}
.preview {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
.preview__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.preview__title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ink);
}
.preview__title .glyph {
  width: 18px;
  height: 18px;
  display: block;
  object-fit: contain;
}
.preview__title .hl { color: var(--primary); }
.preview__example {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--soft);
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}
.preview__status {
  display: none;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
  font-family: var(--font-mono);
}
@media (min-width: 480px) {
  .preview__status { display: inline-flex; }
}
.preview__status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
}
.preview__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--border);
}
.preview__metric {
  padding: 0.75rem 0.65rem;
  border-right: 1px solid var(--border);
}
.preview__metric:last-child { border-right: none; }
.preview__metric-label {
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--soft);
  font-family: var(--font-mono);
}
.preview__metric-value {
  margin-top: 0.2rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.preview__metric-delta {
  margin-top: 0.15rem;
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 600;
}
.preview__list {
  padding: 0.65rem;
  display: grid;
  gap: 0.4rem;
}
.preview__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: var(--bg);
}
.preview__doc {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.preview__doc span:first-child {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preview__doc span:last-child {
  font-size: 0.68rem;
  color: var(--soft);
  font-family: var(--font-mono);
}
.badge {
  font-size: 0.65rem;
  font-weight: 600;
  font-family: var(--font-mono);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.badge--ok {
  background: rgba(var(--success-rgb), 0.12);
  color: var(--success);
}
.badge--run {
  background: rgba(var(--primary-rgb), 0.12);
  color: var(--primary);
}
.preview__row--hide-sm { display: none; }
@media (min-width: 480px) {
  .preview__row--hide-sm { display: flex; }
  .preview__metric { padding: 1rem 0.9rem; }
  .preview__metric-value { font-size: 1.1rem; }
}

/* ---- trust band ---- */
.band {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.band-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  padding: 2.5rem 0;
}
.band-grid .stat strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--ink);
}
.band-grid .stat p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* ---- sections ---- */
section { padding: 5rem 0; }
.core-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.core-item {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.55rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.core-item:hover {
  border-color: rgba(var(--primary-rgb), 0.35);
  box-shadow: var(--shadow-deep);
}
.core-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-50);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
}
.core-item h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.core-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* ---- developers / code ---- */
.section-surface {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.code-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2.5rem;
  align-items: center;
}
.code-copy { display: grid; gap: 1rem; }
.code-copy h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.code-copy p { margin: 0; color: var(--muted); line-height: 1.65; }
.code-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.code-copy li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  color: var(--text);
  font-size: 0.95rem;
}
.code-copy li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}
.code-panel {
  background: #0a2540;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
}
:root[data-theme="dark"] .code-panel { background: #0c1222; }
.code-panel__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(var(--primary-rgb), 0.25), transparent);
}
.code-panel__name {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}
.code-panel__tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: #bfdbfe;
  background: rgba(37, 99, 235, 0.35);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
}
.code-panel__body { padding: 1.1rem 1.2rem; overflow-x: auto; }
.code-panel__body pre {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.85;
  white-space: pre;
  color: #e6edf5;
}
.c-com { color: #7a8aa3; }
.c-key { color: #93c5fd; }
.c-str { color: #6ee7c7; }
.c-fn { color: #60a5fa; }

/* ---- stack / audience ---- */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}
.stack-item {
  padding: 1.35rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  display: grid;
  gap: 0.35rem;
}
.stack-item .k {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.stack-item .v {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.stack-item .d {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.5;
}
.audience-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.audience-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.9rem;
}
.audience-card.featured {
  border-color: rgba(var(--primary-rgb), 0.45);
  box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.12);
}
.audience-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.audience-card h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}
.audience-card p.summary {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.audience-card ul {
  margin: 0;
  padding: 1rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.6rem;
  border-top: 1px solid var(--border);
}
.audience-card li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--text);
}
.audience-card li::before {
  content: "✓";
  color: var(--primary);
  font-weight: 700;
}

/* ---- workflow ---- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.step-item .n {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}
.step-item h3 {
  margin: 0.4rem 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 650;
  color: var(--ink);
}
.step-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ---- CTA ---- */
.cta-wrap { padding: 0 0 5rem; }
.cta {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 2rem;
  border-radius: 28px;
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 45%, #2563eb 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-deep);
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.cta > * { position: relative; z-index: 1; }
.cta h2 {
  margin: 0.75rem 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cta p {
  margin: 0 auto 1.5rem;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.65;
}
.cta .actions { justify-content: center; }
.cta .btn-primary {
  background: #fff;
  color: #1e3a8a;
  box-shadow: none;
}
.cta .btn-primary:hover { background: #eff6ff; }

/* ---- footer ---- */
footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 3rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 0.65rem;
}
.footer-brand img { display: block; }
.footer-brand .hl { color: var(--primary); }
.footer-desc {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.55;
  max-width: 22rem;
}
.footer-col h4 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 650;
  color: var(--ink);
}
.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}
.footer-col a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
}
.footer-col a:hover { color: var(--primary); }
.imparcialista-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
}
.imparcialista-link:hover { color: var(--primary); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--soft);
}
.footer-bottom .mono {
  font-family: var(--font-mono);
  font-size: 0.8rem;
}
.ecosystem {
  margin-top: 0.75rem;
  font-size: 0.8rem;
}
.ecosystem a {
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}
.ecosystem a:hover { color: var(--primary); }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .hero-inner, .code-split { grid-template-columns: 1fr; }
  .preview-wrap { margin: 0 auto; }
  .stack-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .hero { padding: 2.5rem 0 3rem; }
  .band-grid, .core-grid, .audience-grid, .steps-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .stack-grid { grid-template-columns: 1fr; }
  section { padding: 3.5rem 0; }
  .btn { width: 100%; }
  .actions { flex-direction: column; }
  .cta { padding: 2.5rem 1.25rem; }
  .preview-wrap::before { display: none; }

  nav.top .shell { flex-wrap: wrap; gap: 0; }
  .nav-toggle { display: inline-flex; margin-left: auto; order: 2; }
  .nav-actions { order: 3; margin-left: 0.5rem; }
  .nav-actions .nav-cta { display: none; }
  .nav-links {
    order: 4;
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.15rem;
    padding: 0.65rem 0 0.25rem;
    margin-top: 0.75rem;
    border-top: 1px solid var(--border);
  }
  nav.top.is-open .nav-links { display: flex; }
  .nav-links a { padding: 0.7rem 0.35rem; border-radius: 10px; }
  .nav-mobile-cta { display: inline-flex; }
  .nav-mobile-cta { width: 100%; justify-content: center; margin-top: 0.35rem; }
}
